--- a/common/autoconf/hotspot-spec.gmk.in Wed Sep 30 11:38:01 2015 +0200
+++ b/common/autoconf/hotspot-spec.gmk.in Mon Oct 05 13:44:40 2015 +0200
@@ -48,8 +48,8 @@
# The HOSTCC/HOSTCXX is Hotspot terminology for the BUILD_CC/BUILD_CXX, i.e. the
# compiler that produces code that can be run on the build platform.
-HOSTCC:=@FIXPATH@ @BUILD_CC@
-HOSTCXX:=@FIXPATH@ @BUILD_CXX@
+HOSTCC:=@FIXPATH@ @BUILD_CC@ $(BUILD_SYSROOT_CFLAGS)
+HOSTCXX:=@FIXPATH@ @BUILD_CXX@ $(BUILD_SYSROOT_CFLAGS)
####################################################
#