8170784: JDK-8038957 broke cross compilation
authorerikj
Tue, 06 Dec 2016 11:38:05 +0100
changeset 42304 ca14b2e72cab
parent 42303 57efda72d3ad
child 42311 c3572e0f35c7
8170784: JDK-8038957 broke cross compilation Reviewed-by: dholmes, ihse
common/autoconf/buildjdk-spec.gmk.in
--- 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 :=