diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-06 13:19:45 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-06 13:25:50 +0200 |
commit | c2056bd31caa61df9f9b6ffd26479ccd85ea8f1e (patch) | |
tree | fd449977978a644935237f2de4d0b51ddf24cbd2 /solenv/gbuild/platform/solaris.mk | |
parent | 89a606b4649932bd811cfa789ff92bf3055032e7 (diff) |
gbuild: -Wnon-virtual-dtor and strict aliasing workaround for GCC < 4.6
... is obsolete, remove that.
Change-Id: I541de32ac4389d8049c25c98b63a69d084d1594d
Diffstat (limited to 'solenv/gbuild/platform/solaris.mk')
-rw-r--r-- | solenv/gbuild/platform/solaris.mk | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/solenv/gbuild/platform/solaris.mk b/solenv/gbuild/platform/solaris.mk index 97f582b3a030..5e2b59f715aa 100644 --- a/solenv/gbuild/platform/solaris.mk +++ b/solenv/gbuild/platform/solaris.mk @@ -61,7 +61,7 @@ gb_CXXFLAGS := \ -fPIC \ -Wshadow \ -Woverloaded-virtual \ - -Wno-non-virtual-dtor \ + -Wnon-virtual-dtor \ -std=c++0x \ # enable debug STL @@ -71,19 +71,6 @@ gb_COMPILERDEFS += \ endif -ifeq ($(COM_GCC_IS_CLANG),) -gb_GccLess460 := $(shell expr $(GCC_VERSION) \< 406) - -#At least SLED 10.2 gcc 4.3 overly aggressively optimizes uno::Sequence into -#junk, so only strict-alias on >= 4.6.0 -gb_StrictAliasingUnsafe := $(gb_GccLess460) - -ifeq ($(gb_StrictAliasingUnsafe),1) -gb_CFLAGS += -fno-strict-aliasing -gb_CXXFLAGS += -fno-strict-aliasing -endif -endif - ifneq ($(strip $(SYSBASE)),) gb_CXXFLAGS += --sysroot=$(SYSBASE) gb_CFLAGS += --sysroot=$(SYSBASE) |