diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-02-24 11:41:42 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-02-24 11:41:42 +0000 |
commit | 8eedd776cd9acbe9dbc0dd8d00618a9c11f2daba (patch) | |
tree | 5d11f4218b25981cd9e559ed0ad6ac126da31b1b /ACE/include | |
parent | 68a779ab93434eaabab1e958381823e153a439d0 (diff) | |
download | ATCD-8eedd776cd9acbe9dbc0dd8d00618a9c11f2daba.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
Diffstat (limited to 'ACE/include')
-rw-r--r-- | ACE/include/makeinclude/platform_g++_common.GNU | 4 |
1 files changed, 4 insertions, 0 deletions
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 |