提交 cbe591cc 编写于 作者: A andrew

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
上级 cde164b2
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册