mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-25 01:30:10 +00:00
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:
parent
a6653a2f7c
commit
1b6a45d291
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user