summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_g++_common.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_g++_common.GNU')
-rw-r--r--include/makeinclude/platform_g++_common.GNU4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/makeinclude/platform_g++_common.GNU b/include/makeinclude/platform_g++_common.GNU
index d7e4db7355d..851e1c905c7 100644
--- a/include/makeinclude/platform_g++_common.GNU
+++ b/include/makeinclude/platform_g++_common.GNU
@@ -143,7 +143,7 @@ ifeq ($(no-optimize-sibling-calls), 1)
endif
ifeq ($(no_strict_aliasing), 1)
- CCFLAGS += -fno-strict-aliasing
+ FLAGS_C_CC += -fno-strict-aliasing
else
ifneq ($(no_strict_aliasing), 0)
# if not explicitly disabled enable suppression of strict-aliasing checks by default
@@ -152,7 +152,7 @@ else
# lot of pain to attempt to solve code issues and the best way to deal is to suppress
ifeq ($(GXX_4_OR_BETTER), 1)
ifneq ($(findstring $(CXX_MAJOR_VERSION).$(CXX_MINOR_VERSION),4.1),$(CXX_MAJOR_VERSION).$(CXX_MINOR_VERSION))
- CCFLAGS += -fno-strict-aliasing
+ FLAGS_C_CC += -fno-strict-aliasing
endif
endif
endif