Mercurial > hg > release > icedtea7-forest-2.2 > jdk
changeset 5300:88eb9a31f7d2
7171223: Building ExtensionSubtables.cpp should use -fno-strict-aliasing
Summary: GCC 4.4+ have stricter aliasing requirements which produces a new warning from this code
Reviewed-by: prr, ohair
author | andrew |
---|---|
date | Mon, 27 May 2013 23:21:28 +0100 |
parents | 518d2e1d3549 |
children | 427c2ecf7155 |
files | make/sun/font/Makefile |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/make/sun/font/Makefile Wed May 22 17:57:08 2013 +0100 +++ b/make/sun/font/Makefile Mon May 27 23:21:28 2013 +0100 @@ -92,7 +92,8 @@ # Turn off aliasing with GCC for ExtensionSubtables.cpp ifeq ($(PLATFORM), linux) - OTHER_CXXFLAGS += -fno-strict-aliasing + CXXFLAGS += $(CXXFLAGS_$(@F)) + CXXFLAGS_ExtensionSubtables.o = -fno-strict-aliasing endif #In the non-OpenJDK mode we need to build T2K