From 871af36ac5207e8676c60baad1e8310d8a26ff67 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Mon, 2 Sep 2019 16:44:53 +0200 Subject: [PATCH] move -fno-strict-aliasing flag to central place for all Linux version --- configure/os/CONFIG.Common.RHEL7-x86_64 | 2 -- configure/os/CONFIG.Common.SL6-x86 | 3 --- configure/os/CONFIG.Common.SL6-x86_64 | 3 --- configure/os/CONFIG.Common.eldk42-ppc4xxFP | 3 --- configure/os/CONFIG.Common.moxa42-armv6l | 3 --- configure/os/CONFIG.Common.mvl40-xscale_be | 2 +- configure/os/CONFIG_SITE.Common.linuxCommon | 1 + 7 files changed, 2 insertions(+), 15 deletions(-) diff --git a/configure/os/CONFIG.Common.RHEL7-x86_64 b/configure/os/CONFIG.Common.RHEL7-x86_64 index 401de96c7..757bcb323 100644 --- a/configure/os/CONFIG.Common.RHEL7-x86_64 +++ b/configure/os/CONFIG.Common.RHEL7-x86_64 @@ -1,4 +1,2 @@ # Include definitions common to linux pentium targets include $(CONFIG)/os/CONFIG.Common.linux-x86_64 - -ARCH_DEP_CXXFLAGS += -fno-strict-aliasing diff --git a/configure/os/CONFIG.Common.SL6-x86 b/configure/os/CONFIG.Common.SL6-x86 index ddd3bc7d5..434c55396 100644 --- a/configure/os/CONFIG.Common.SL6-x86 +++ b/configure/os/CONFIG.Common.SL6-x86 @@ -2,6 +2,3 @@ include $(CONFIG)/os/CONFIG.Common.linux-x86 ARCH_DEP_CFLAGS += -march=i686 - -# remove warning in anyscalar.h -ARCH_DEP_CXXFLAGS += -fno-strict-aliasing diff --git a/configure/os/CONFIG.Common.SL6-x86_64 b/configure/os/CONFIG.Common.SL6-x86_64 index 80018a4c6..757bcb323 100644 --- a/configure/os/CONFIG.Common.SL6-x86_64 +++ b/configure/os/CONFIG.Common.SL6-x86_64 @@ -1,5 +1,2 @@ # Include definitions common to linux pentium targets include $(CONFIG)/os/CONFIG.Common.linux-x86_64 - -# remove warning in anyscalar.h -ARCH_DEP_CXXFLAGS += -fno-strict-aliasing diff --git a/configure/os/CONFIG.Common.eldk42-ppc4xxFP b/configure/os/CONFIG.Common.eldk42-ppc4xxFP index 9d1affe11..716a29931 100644 --- a/configure/os/CONFIG.Common.eldk42-ppc4xxFP +++ b/configure/os/CONFIG.Common.eldk42-ppc4xxFP @@ -20,6 +20,3 @@ ARCH_DEP_CXXFLAGS += -I $(ELDK)/$(GNU_TARGET)/usr/include/c++/4.2.2/backward ARCH_DEP_LDFLAGS += -Wl,-rpath-link,$(ELDK)/$(GNU_TARGET)/lib ARCH_DEP_LDFLAGS += -Wl,-rpath-link,$(ELDK)/$(GNU_TARGET)/usr/lib - -# Some drivers complain -ARCH_DEP_CFLAGS += -fno-strict-aliasing diff --git a/configure/os/CONFIG.Common.moxa42-armv6l b/configure/os/CONFIG.Common.moxa42-armv6l index 8ece00585..eecdcc7c1 100644 --- a/configure/os/CONFIG.Common.moxa42-armv6l +++ b/configure/os/CONFIG.Common.moxa42-armv6l @@ -14,6 +14,3 @@ COMMANDLINE_LIBRARY = READLINE_NCURSES ARCH_DEP_CXXFLAGS += -Wno-psabi ARCH_DEP_CFLAGS += -funwind-tables - -# remove warning in anyscalar.h -ARCH_DEP_CXXFLAGS += -fno-strict-aliasing diff --git a/configure/os/CONFIG.Common.mvl40-xscale_be b/configure/os/CONFIG.Common.mvl40-xscale_be index e5218e690..a2a703314 100644 --- a/configure/os/CONFIG.Common.mvl40-xscale_be +++ b/configure/os/CONFIG.Common.mvl40-xscale_be @@ -9,7 +9,7 @@ ARCH_CLASS = xscale GNU_DIR=/afs/psi.ch/project/embeddedlinux/moxa/xscale_be/armv5teb-montavista-linuxeabi -ARCH_DEP_CFLAGS += -funwind-tables -fno-strict-aliasing +ARCH_DEP_CFLAGS += -funwind-tables # Cannot build PVA because of missing boost support SKIP_BUILDS = pv% normativeTypes diff --git a/configure/os/CONFIG_SITE.Common.linuxCommon b/configure/os/CONFIG_SITE.Common.linuxCommon index 30cfd903b..907f4d796 100644 --- a/configure/os/CONFIG_SITE.Common.linuxCommon +++ b/configure/os/CONFIG_SITE.Common.linuxCommon @@ -1 +1,2 @@ COMMANDLINE_LIBRARY = READLINE +CODE_CPPFLAGS += -fno-strict-aliasing