7171223: Building ExtensionSubtables.cpp should use -fno-strict-aliasing

GCC 4.4+ have stricter aliasing requirements which produces a new warning from this code

Reviewed-by: prr, ohair
This commit is contained in:
Andrew John Hughes 2012-05-30 16:17:48 +01:00
parent a6653a2f7c
commit 1b6a45d291

View File

@ -90,6 +90,12 @@ else # PLATFORM unix
endif # PLATFORM
# Turn off aliasing with GCC for ExtensionSubtables.cpp
ifeq ($(PLATFORM), linux)
CXXFLAGS += $(CXXFLAGS_$(@F))
CXXFLAGS_ExtensionSubtables.o = -fno-strict-aliasing
endif
#In the non-OpenJDK mode we need to build T2K
ifndef OPENJDK
t2k: