Mercurial > hg > release > icedtea7-forest-2.6 > jdk
changeset 8970:58e586f18da6
8161262: Fix jdk build with gcc 4.1.2: -fno-strict-overflow not known.
Reviewed-by: aph
author | goetz |
---|---|
date | Wed, 13 Jul 2016 10:47:36 +0200 |
parents | f51368baecd9 |
children | 3d030fe77f74 |
files | make/sun/font/Makefile |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/make/sun/font/Makefile Mon Apr 18 04:46:08 2016 +0100 +++ b/make/sun/font/Makefile Wed Jul 13 10:47:36 2016 +0200 @@ -99,9 +99,12 @@ ifeq ($(PLATFORM), linux) CXXFLAGS += $(CXXFLAGS_$(@F)) CXXFLAGS_ExtensionSubtables.o = -fno-strict-aliasing +ifeq "$(shell expr \( $(CC_VER_MAJOR) \> 4 \) \| \( \( $(CC_VER_MAJOR) = 4 \) \& \( $(CC_VER_MINOR) \>= 3 \) \))" "0" + # Gcc >= 4.3. This flag is not known in gcc 4.1.2. CXXFLAGS_IndicRearrangementProcessor.o := -fno-strict-overflow CXXFLAGS_IndicRearrangementProcessor2.o := -fno-strict-overflow endif +endif #In the non-OpenJDK mode we need to build T2K ifndef OPENJDK