diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 16:15:27 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 16:15:27 +0000 |
commit | 5294994088cbc4997406405d3015783c615bc80b (patch) | |
tree | 4d3bd7639563a86204c8ec4e3891d282148118a8 /solenv/inc/unxlngppc.mk | |
parent | 550f0a65ba6d69714b91d8df1ace11eb4f56b802 (diff) |
INTEGRATION: CWS warnings01 (1.18.56); FILE MERGED
2006/05/23 19:01:21 sb 1.18.56.6: RESYNC: (1.22-1.23); FILE MERGED
2006/01/25 19:04:53 sb 1.18.56.5: RESYNC: (1.20-1.22); FILE MERGED
2005/11/09 10:34:30 sb 1.18.56.4: #i53898# CFLAGSWARN...: cleaned up and incorporated changes already made for unxlngi6.mk.
2005/11/07 17:19:54 pl 1.18.56.3: RESYNC: (1.19-1.20); FILE MERGED
2005/09/22 23:27:23 sb 1.18.56.2: RESYNC: (1.18-1.19); FILE MERGED
2005/08/29 11:48:51 sb 1.18.56.1: #i53898# Changed and extended CFLAGSDFTLWARN/CFLAGSWALL to CFLAGS{WARN|WALL|WERR}{CC|CXX}.
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 |