зеркало из https://github.com/mozilla/pjs.git
Bugzilla bug 335275: compile with the GCC flag
-Werror-implicit-function-declaration. r=nelsonb. Modified files: Linux.mk SunOS5.mk
This commit is contained in:
Родитель
a1ffd81ddb
Коммит
cc75ab1cb9
|
@ -155,7 +155,7 @@ ifeq ($(USE_PTHREADS),1)
|
|||
OS_PTHREAD = -lpthread
|
||||
endif
|
||||
|
||||
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) $(ARCHFLAG) -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR
|
||||
OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) $(ARCHFLAG) -ansi -Wall -Werror-implicit-function-declaration -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR
|
||||
OS_LIBS = $(OS_PTHREAD) -ldl -lc
|
||||
|
||||
ifdef USE_PTHREADS
|
||||
|
|
|
@ -94,7 +94,7 @@ DEFAULT_COMPILER = cc
|
|||
|
||||
ifdef NS_USE_GCC
|
||||
CC = gcc
|
||||
OS_CFLAGS += -Wall -Wno-format
|
||||
OS_CFLAGS += -Wall -Wno-format -Werror-implicit-function-declaration
|
||||
CCC = g++
|
||||
CCC += -Wall -Wno-format
|
||||
ASFLAGS += -x assembler-with-cpp
|
||||
|
|
Загрузка…
Ссылка в новой задаче