Mercurial > hg > icedtea7-forest-aarch64 > jdk
changeset 8191:33a33bbea1ae icedtea-2.6pre10
PR2069: Type-punning warnings still evident on RHEL 5
Summary: Add -fno-strict-aliasing to the whole of sun/font and to waiters.cpp
author | andrew |
---|---|
date | Wed, 05 Nov 2014 15:40:16 +0000 |
parents | 1dca7b2b663b |
children | bb345ad5fa2f |
files | make/mkdemo/jvmti/waiters/Makefile make/sun/font/Makefile |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/make/mkdemo/jvmti/waiters/Makefile Thu Oct 30 22:54:21 2014 +0000 +++ b/make/mkdemo/jvmti/waiters/Makefile Wed Nov 05 15:40:16 2014 +0000 @@ -41,3 +41,7 @@ # include $(BUILDDIR)/common/Demo.gmk +# Turn off aliasing with GCC +ifeq ($(PLATFORM), linux) + CXXFLAGS += -fno-strict-aliasing +endif
--- a/make/sun/font/Makefile Thu Oct 30 22:54:21 2014 +0000 +++ b/make/sun/font/Makefile Wed Nov 05 15:40:16 2014 +0000 @@ -94,10 +94,9 @@ endif # PLATFORM -# Turn off aliasing with GCC for ExtensionSubtables.cpp +# Turn off aliasing with GCC ifeq ($(PLATFORM), linux) - CXXFLAGS += $(CXXFLAGS_$(@F)) - CXXFLAGS_ExtensionSubtables.o = -fno-strict-aliasing + CXXFLAGS += -fno-strict-aliasing endif # Turn on infinality rendering support when requested