diff options
author | wtchang%redhat.com <devnull@localhost> | 2006-04-24 20:49:03 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2006-04-24 20:49:03 +0000 |
commit | 02c90d3cb822f14e3592b28b538c3ad9f0b6a07a (patch) | |
tree | 28adaa7393e7c7eb81f0bb54c2ba606c4ffe9ef8 | |
parent | b04a826d29b0f2f23f6bab275d9cc7d4ed270e67 (diff) | |
download | nss-hg-02c90d3cb822f14e3592b28b538c3ad9f0b6a07a.tar.gz |
Bugzilla bug 335275: compile with the GCC flag
-Werror-implicit-function-declaration. r=nelsonb.
Modified files: Linux.mk SunOS5.mk
Tag: NSS_3_11_BRANCH
-rw-r--r-- | security/coreconf/Linux.mk | 2 | ||||
-rw-r--r-- | security/coreconf/SunOS5.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/security/coreconf/Linux.mk b/security/coreconf/Linux.mk index d87c4ce82..f0e8ad96c 100644 --- a/security/coreconf/Linux.mk +++ b/security/coreconf/Linux.mk @@ -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 diff --git a/security/coreconf/SunOS5.mk b/security/coreconf/SunOS5.mk index fff1d1a3b..88f6f2f05 100644 --- a/security/coreconf/SunOS5.mk +++ b/security/coreconf/SunOS5.mk @@ -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 |