changeset 2364:3ffc3e886c74 jdk-9+148

8170784: JDK-8038957 broke cross compilation Reviewed-by: dholmes, ihse
author erikj
date Tue, 06 Dec 2016 11:38:05 +0100
parents 9475c1488d29
children 514c1e8d10f2 1620754492a5
files common/autoconf/buildjdk-spec.gmk.in
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common/autoconf/buildjdk-spec.gmk.in	Mon Dec 05 17:03:52 2016 -0800
+++ b/common/autoconf/buildjdk-spec.gmk.in	Tue Dec 06 11:38:05 2016 +0100
@@ -89,4 +89,10 @@
 # Control wether Hotspot builds gtest tests
 BUILD_GTEST := false
 
-JVM_VARIANTS := server
\ No newline at end of file
+JVM_VARIANTS := server
+
+# Some users still set EXTRA_*FLAGS on the make command line. Must
+# make sure to override that when building buildjdk.
+override EXTRA_CFLAGS :=
+override EXTRA_CXXFLAGS :=
+override EXTRA_LDFLAGS :=