summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-08-26 06:37:34 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-08-26 06:37:34 +0000
commit999bcae268374d2ac7c5d7fd94fa5d1069b26c49 (patch)
tree4aa11991776d7c34767f0037ecebbf22afc53fbb
parent51769dc0f190622c5cd5d4489e9c1cadb55d8864 (diff)
downloadATCD-999bcae268374d2ac7c5d7fd94fa5d1069b26c49.tar.gz
-rw-r--r--ACE/include/makeinclude/platform_gnuwin32_common.GNU10
1 files changed, 6 insertions, 4 deletions
diff --git a/ACE/include/makeinclude/platform_gnuwin32_common.GNU b/ACE/include/makeinclude/platform_gnuwin32_common.GNU
index 8078fb6d3bd..f78978294df 100644
--- a/ACE/include/makeinclude/platform_gnuwin32_common.GNU
+++ b/ACE/include/makeinclude/platform_gnuwin32_common.GNU
@@ -18,7 +18,6 @@ debug ?= 1
optimize ?= 1
threads ?= 1
pipes ?= 1
-wall ?= 1
# When building shared libraries
ifeq ($(shared_libs), 1)
@@ -42,9 +41,6 @@ else
endif
CFLAGS += -Wpointer-arith
-ifeq ($(wall),1)
- CFLAGS += -Wall -W
-endif
ifeq ($(threads),1)
CFLAGS += -mthreads
endif # threads
@@ -106,12 +102,18 @@ include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU
ifeq ($(GXX_4_OR_BETTER), 1)
no_attributes ?= 1
+ wall ?= 1
else
no_attributes ?= 0
+ wall ?= 0
endif
ifeq ($(no_attributes), 1)
CFLAGS += -Wno-attributes
endif
+ifeq ($(wall),1)
+ CFLAGS += -Wall -W
+endif
+
CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG)