diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-19 20:24:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-20 08:53:25 +0100 |
commit | bc9aea44a77af9a80277b5126780272692a6bae8 (patch) | |
tree | 16e20a64d11e08bdf2c966bd43a01859329371ef /bridges | |
parent | d93d6c635a3716a69e1b1a1f7eb8f3f09efb0863 (diff) |
explicitly -fno-strict-alias for linux bridges by default
Diffstat (limited to 'bridges')
13 files changed, 16 insertions, 12 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_alpha/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_alpha/makefile.mk index 2650c4376933..5376b395e35f 100644 --- a/bridges/source/cpp_uno/gcc3_linux_alpha/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_alpha/makefile.mk @@ -46,7 +46,7 @@ CFLAGS += -DLEAK_STATIC_DATA # In case someone enabled the non-standard -fomit-frame-pointer which does not # work with the .cxx sources in this directory: -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing CFLAGSNOOPT=-O0 diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_arm/makefile.mk index 0900ec11f41f..2c42dec5a415 100644 --- a/bridges/source/cpp_uno/gcc3_linux_arm/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_arm/makefile.mk @@ -45,7 +45,7 @@ NO_BSYMBOLIC=TRUE CFLAGS += -DLEAK_STATIC_DATA .ENDIF -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing NOOPTFILES= \ $(SLO)$/cpp2uno.obj \ diff --git a/bridges/source/cpp_uno/gcc3_linux_hppa/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_hppa/makefile.mk index a160ed5fb4c9..6fab7a4d1f5f 100644 --- a/bridges/source/cpp_uno/gcc3_linux_hppa/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_hppa/makefile.mk @@ -45,7 +45,7 @@ NO_BSYMBOLIC=TRUE CFLAGS += -DLEAK_STATIC_DATA .ENDIF -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing NOOPTFILES= \ $(SLO)$/cpp2uno.obj \ diff --git a/bridges/source/cpp_uno/gcc3_linux_ia64/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_ia64/makefile.mk index b4ac2edc3a71..1e82cfabe260 100644 --- a/bridges/source/cpp_uno/gcc3_linux_ia64/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_ia64/makefile.mk @@ -46,7 +46,7 @@ CFLAGS += -DLEAK_STATIC_DATA # In case someone enabled the non-standard -fomit-frame-pointer which does not # work with the .cxx sources in this directory: -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing NOOPTFILES= \ $(SLO)$/uno2cpp.obj \ diff --git a/bridges/source/cpp_uno/gcc3_linux_intel/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_intel/makefile.mk index d5eb2dd6e1d9..c03a43ce8aba 100644 --- a/bridges/source/cpp_uno/gcc3_linux_intel/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_intel/makefile.mk @@ -46,7 +46,7 @@ CFLAGS += -DLEAK_STATIC_DATA # In case someone enabled the non-standard -fomit-frame-pointer which does not # work with the .cxx sources in this directory: -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing CFLAGSNOOPT=-O0 diff --git a/bridges/source/cpp_uno/gcc3_linux_m68k/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_m68k/makefile.mk index 8ad89c973b9e..3978bda7cb16 100644 --- a/bridges/source/cpp_uno/gcc3_linux_m68k/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_m68k/makefile.mk @@ -45,7 +45,7 @@ NO_BSYMBOLIC=TRUE CFLAGS += -DLEAK_STATIC_DATA .ENDIF -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing NOOPTFILES= \ $(SLO)$/cpp2uno.obj \ diff --git a/bridges/source/cpp_uno/gcc3_linux_mips/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_mips/makefile.mk index c71849f06ea9..f71750e9108d 100644 --- a/bridges/source/cpp_uno/gcc3_linux_mips/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_mips/makefile.mk @@ -46,7 +46,7 @@ CFLAGS += -DLEAK_STATIC_DATA # In case someone enabled the non-standard -fomit-frame-pointer which does not # work with the .cxx sources in this directory: -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing CFLAGSNOOPT=-O0 diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_powerpc/makefile.mk index 02906e1a0e94..9a752009904e 100644 --- a/bridges/source/cpp_uno/gcc3_linux_powerpc/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_powerpc/makefile.mk @@ -45,7 +45,7 @@ CFLAGS += -DLEAK_STATIC_DATA # In case someone enabled the non-standard -fomit-frame-pointer which does not # work with the .cxx sources in this directory: -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing NOOPTFILES= \ $(SLO)$/uno2cpp.obj diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_powerpc64/makefile.mk index 2dd11d815c69..77763d7c8b54 100644 --- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/makefile.mk @@ -46,7 +46,7 @@ CFLAGS += -DLEAK_STATIC_DATA # In case someone enabled the non-standard -fomit-frame-pointer which does not # work with the .cxx sources in this directory: -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing NOOPTFILES= \ $(SLO)$/uno2cpp.obj \ diff --git a/bridges/source/cpp_uno/gcc3_linux_s390/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_s390/makefile.mk index d71136adaff4..bda85f359210 100644 --- a/bridges/source/cpp_uno/gcc3_linux_s390/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_s390/makefile.mk @@ -46,7 +46,7 @@ CFLAGS += -DLEAK_STATIC_DATA # In case someone enabled the non-standard -fomit-frame-pointer which does not # work with the .cxx sources in this directory: -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing CFLAGSNOOPT=-O0 diff --git a/bridges/source/cpp_uno/gcc3_linux_s390x/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_s390x/makefile.mk index c14cb152faa8..9539dd6edf9b 100644 --- a/bridges/source/cpp_uno/gcc3_linux_s390x/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_s390x/makefile.mk @@ -46,7 +46,7 @@ CFLAGS += -DLEAK_STATIC_DATA # In case someone enabled the non-standard -fomit-frame-pointer which does not # work with the .cxx sources in this directory: -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing CFLAGSNOOPT=-O0 diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_sparc/makefile.mk index 71e799f76c12..3940038247c3 100644 --- a/bridges/source/cpp_uno/gcc3_linux_sparc/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_sparc/makefile.mk @@ -43,6 +43,10 @@ ENABLE_EXCEPTIONS=TRUE CFLAGS += -DLEAK_STATIC_DATA .ENDIF +# In case someone enabled the non-standard -fomit-frame-pointer which does not +# # work with the .cxx sources in this directory: +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing + CFLAGSNOOPT=-O0 NOOPTFILES = \ diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/makefile.mk b/bridges/source/cpp_uno/gcc3_linux_x86-64/makefile.mk index 8e6200704969..291397147c48 100644 --- a/bridges/source/cpp_uno/gcc3_linux_x86-64/makefile.mk +++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/makefile.mk @@ -46,7 +46,7 @@ CFLAGS += -DLEAK_STATIC_DATA # In case someone enabled the non-standard -fomit-frame-pointer which does not # work with the .cxx sources in this directory: -CFLAGSCXX += -fno-omit-frame-pointer +CFLAGSCXX += -fno-omit-frame-pointer -fno-strict-aliasing SLOFILES= \ $(SLO)$/abi.obj \ |