diff options
Diffstat (limited to 'solenv/inc/unxlngppc.mk')
-rw-r--r-- | solenv/inc/unxlngppc.mk | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/solenv/inc/unxlngppc.mk b/solenv/inc/unxlngppc.mk index 22919a74ccaa..b5a786e0dcad 100644 --- a/solenv/inc/unxlngppc.mk +++ b/solenv/inc/unxlngppc.mk @@ -4,9 +4,9 @@ # # $RCSfile: unxlngppc.mk,v $ # -# $Revision: 1.23 $ +# $Revision: 1.24 $ # -# last change: $Author: hr $ $Date: 2006-04-20 13:32:50 $ +# last change: $Author: hr $ $Date: 2006-06-19 17:15:27 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -82,7 +82,6 @@ CFLAGSEXCEPTIONS=-fexceptions CFLAGS_NO_EXCEPTIONS=-fno-exceptions CFLAGSCXX= -pipe -frtti $(ARCH_FLAGS) -CFLAGSCXX+= -Wno-ctor-dtor-privacy PICSWITCH:=-fPIC #Note: the build is not consistent in that it links static librtaries @@ -118,6 +117,13 @@ CFLAGSNOOPT=-O0 # Compiler flags for describing the output path CFLAGSOUTOBJ=-o +CFLAGSWARNCC= +CFLAGSWARNCXX=$(CFLAGSWARNCC) -Wno-ctor-dtor-privacy +# -Wshadow does not work for C with nested uses of pthread_cleanup_push: +CFLAGSWALLCC=-Wall -Wextra -Wendif-labels +CFLAGSWALLCXX=$(CFLAGSWALLCC) -Wshadow -Wno-ctor-dtor-privacy +CFLAGSWERRCC=-Werror + # switches for dynamic and static linking STATIC = -Wl,-Bstatic DYNAMIC = -Wl,-Bdynamic |