summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-02-24 11:41:42 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-02-24 11:41:42 +0000
commitd6b98d16f9a653005b5f93eea7d91745bc709cf3 (patch)
tree5d11f4218b25981cd9e559ed0ad6ac126da31b1b
parentcf018f9b9c48edab0810d19f1de42b0e449f6783 (diff)
downloadATCD-d6b98d16f9a653005b5f93eea7d91745bc709cf3.tar.gz
Wed Feb 24 11:41:54 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/platform_g++_common.GNU: Added support for no_strict_aliasing, when this is set, we add -fno-strict-aliasing to the compiler flags
-rw-r--r--ACE/ChangeLog6
-rw-r--r--ACE/include/makeinclude/platform_g++_common.GNU4
2 files changed, 10 insertions, 0 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index bf31415a8e3..7260136a1bf 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,9 @@
+Wed Feb 24 11:41:54 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * include/makeinclude/platform_g++_common.GNU:
+ Added support for no_strict_aliasing, when this is set, we add
+ -fno-strict-aliasing to the compiler flags
+
Wed Feb 24 08:45:54 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/run_test.lst:
diff --git a/ACE/include/makeinclude/platform_g++_common.GNU b/ACE/include/makeinclude/platform_g++_common.GNU
index 9611d652435..aa2b0b0720f 100644
--- a/ACE/include/makeinclude/platform_g++_common.GNU
+++ b/ACE/include/makeinclude/platform_g++_common.GNU
@@ -68,6 +68,10 @@ ifeq ($(GNU_LD),1)
STATIC_LINK_FLAG ?= -static
endif # GNU_LD
+ifeq ($(no_strict_aliasing), 1)
+ CCFLAGS += -fno-strict-aliasing
+endif
+
ifeq ($(shared_libs), 1)
ifneq ($(static_libs_only), 1)
# Add all symbols to the dynamic symbol table. Needed to enable