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}.
This commit is contained in:
parent
550f0a65ba
commit
5294994088
1 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue