diff options
author | biswatosh.chakraborty%sun.com <devnull@localhost> | 2007-11-22 04:39:56 +0000 |
---|---|---|
committer | biswatosh.chakraborty%sun.com <devnull@localhost> | 2007-11-22 04:39:56 +0000 |
commit | 7730e2bc3e096a8511f688896e3fa31517646136 (patch) | |
tree | b9bf509cf2763105468051045279c0c8acf9c0eb | |
parent | f03c11227ab9b1cdb7fef5eefdbd6cfec38dad52 (diff) | |
download | nss-hg-7730e2bc3e096a8511f688896e3fa31517646136.tar.gz |
Bug 288730 ? compiler warnings in certutil, r=Julien
-rw-r--r-- | security/coreconf/FreeBSD.mk | 2 | ||||
-rw-r--r-- | security/coreconf/IRIX.mk | 2 | ||||
-rw-r--r-- | security/coreconf/Linux.mk | 2 | ||||
-rw-r--r-- | security/coreconf/NCR3.0.mk | 2 | ||||
-rw-r--r-- | security/coreconf/NetBSD.mk | 2 | ||||
-rw-r--r-- | security/coreconf/OS2.mk | 2 | ||||
-rw-r--r-- | security/coreconf/OpenBSD.mk | 2 | ||||
-rw-r--r-- | security/coreconf/ReliantUNIX.mk | 2 | ||||
-rw-r--r-- | security/coreconf/SunOS4.1.3_U1.mk | 2 | ||||
-rw-r--r-- | security/coreconf/SunOS5.4_i86pc.mk | 2 | ||||
-rw-r--r-- | security/coreconf/SunOS5.mk | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/security/coreconf/FreeBSD.mk b/security/coreconf/FreeBSD.mk index e0ac591dc..080f37b2c 100644 --- a/security/coreconf/FreeBSD.mk +++ b/security/coreconf/FreeBSD.mk @@ -48,7 +48,7 @@ else CPU_ARCH = x86 endif -OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK +OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK DSO_CFLAGS = -fPIC DSO_LDOPTS = -shared -Wl,-soname -Wl,$(notdir $@) diff --git a/security/coreconf/IRIX.mk b/security/coreconf/IRIX.mk index 9d7cd8992..28f4f051f 100644 --- a/security/coreconf/IRIX.mk +++ b/security/coreconf/IRIX.mk @@ -53,7 +53,7 @@ DEFAULT_COMPILER = cc ifdef NS_USE_GCC CC = gcc AS = $(CC) -x assembler-with-cpp - ODD_CFLAGS = -Wall -Wno-format + ODD_CFLAGS = -Wall -Wno-format -Wno-switch ifdef BUILD_OPT OPTIMIZER = -O6 endif diff --git a/security/coreconf/Linux.mk b/security/coreconf/Linux.mk index 866e79e7f..765fe2171 100644 --- a/security/coreconf/Linux.mk +++ b/security/coreconf/Linux.mk @@ -159,7 +159,7 @@ ifeq ($(USE_PTHREADS),1) OS_PTHREAD = -lpthread endif -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_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) $(ARCHFLAG) -ansi -Wall -Werror-implicit-function-declaration -Wno-switch -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/NCR3.0.mk b/security/coreconf/NCR3.0.mk index 5be97e1ef..e312a5de7 100644 --- a/security/coreconf/NCR3.0.mk +++ b/security/coreconf/NCR3.0.mk @@ -90,7 +90,7 @@ ifdef NS_USE_GCC CXX = g++ # always use -fPIC - some makefiles are still broken and don't distinguish # situation when they build shared and static libraries - CFLAGS += -fPIC -Wall $(GCC_FLAGS_EXTRA) + CFLAGS += -fPIC -Wall -Wno-switch $(GCC_FLAGS_EXTRA) # OS_LIBS += -L/usr/local/lib -lstdc++ -lg++ -lgcc endif endif diff --git a/security/coreconf/NetBSD.mk b/security/coreconf/NetBSD.mk index 3f2900150..4ad69c23a 100644 --- a/security/coreconf/NetBSD.mk +++ b/security/coreconf/NetBSD.mk @@ -58,7 +58,7 @@ else DLL_SUFFIX = so.1.0 endif -OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK +OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -Wno-switch -pipe -DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK OS_LIBS = -lcompat diff --git a/security/coreconf/OS2.mk b/security/coreconf/OS2.mk index 89d7a9f06..2fb61207b 100644 --- a/security/coreconf/OS2.mk +++ b/security/coreconf/OS2.mk @@ -97,7 +97,7 @@ PROCESS_MAP_FILE = \ endif #NO_SHARED_LIB -OS_CFLAGS = -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Zomf -DDEBUG -DTRACING -g +OS_CFLAGS = -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-switch -Zomf -DDEBUG -DTRACING -g ifdef BUILD_OPT OPTIMIZER = -O2 -s diff --git a/security/coreconf/OpenBSD.mk b/security/coreconf/OpenBSD.mk index bc1ee37a2..39e8f08b2 100644 --- a/security/coreconf/OpenBSD.mk +++ b/security/coreconf/OpenBSD.mk @@ -58,7 +58,7 @@ endif DLL_SUFFIX = so.1.0 -OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -pipe -DOPENBSD +OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -ansi -Wall -Wno-switch -pipe -DOPENBSD OS_LIBS = diff --git a/security/coreconf/ReliantUNIX.mk b/security/coreconf/ReliantUNIX.mk index cdf71ed08..671132ac8 100644 --- a/security/coreconf/ReliantUNIX.mk +++ b/security/coreconf/ReliantUNIX.mk @@ -46,7 +46,7 @@ ifdef NS_USE_GCC AS = $(CC) ASFLAGS += -x assembler-with-cpp LD = gld - ODD_CFLAGS = -pipe -Wall -Wno-format + ODD_CFLAGS = -pipe -Wall -Wno-format -Wno-switch ifdef BUILD_OPT OPTIMIZER += -O6 endif diff --git a/security/coreconf/SunOS4.1.3_U1.mk b/security/coreconf/SunOS4.1.3_U1.mk index 9b5ae64d7..146d46b69 100644 --- a/security/coreconf/SunOS4.1.3_U1.mk +++ b/security/coreconf/SunOS4.1.3_U1.mk @@ -49,7 +49,7 @@ RANLIB = ranlib CPU_ARCH = sparc # Purify doesn't like -MDupdate -NOMD_OS_CFLAGS += -Wall -Wno-format -DSUNOS4 +NOMD_OS_CFLAGS += -Wall -Wno-format -Wno-switch -DSUNOS4 OS_CFLAGS += $(DSO_CFLAGS) $(NOMD_OS_CFLAGS) -MDupdate $(DEPENDENCIES) MKSHLIB = $(LD) MKSHLIB += $(DSO_LDOPTS) diff --git a/security/coreconf/SunOS5.4_i86pc.mk b/security/coreconf/SunOS5.4_i86pc.mk index 906492056..53c01380b 100644 --- a/security/coreconf/SunOS5.4_i86pc.mk +++ b/security/coreconf/SunOS5.4_i86pc.mk @@ -41,7 +41,7 @@ DEFAULT_COMPILER = cc ifdef NS_USE_GCC CC = gcc - OS_CFLAGS += -Wall -Wno-format + OS_CFLAGS += -Wall -Wno-format -Wno-switch CCC = g++ CCC += -Wall -Wno-format ASFLAGS += -x assembler-with-cpp diff --git a/security/coreconf/SunOS5.mk b/security/coreconf/SunOS5.mk index f21513529..549e110f5 100644 --- a/security/coreconf/SunOS5.mk +++ b/security/coreconf/SunOS5.mk @@ -75,7 +75,7 @@ DEFAULT_COMPILER = cc ifdef NS_USE_GCC CC = gcc - OS_CFLAGS += -Wall -Wno-format -Werror-implicit-function-declaration + OS_CFLAGS += -Wall -Wno-format -Werror-implicit-function-declaration -Wno-switch CCC = g++ CCC += -Wall -Wno-format ASFLAGS += -x assembler-with-cpp |