--- a/jdk/makefiles/Tools.gmk Wed Jul 05 18:22:17 2017 +0200
+++ b/jdk/makefiles/Tools.gmk Tue Sep 18 11:29:24 2012 -0700
@@ -134,8 +134,8 @@
$(eval $(call SetupNativeCompilation,ADD_GNU_DEBUGLINK,\
SRC:=$(JDK_TOPDIR)/make/tools/add_gnu_debuglink,\
LANG:=C,\
- CC:=$(HOST_CC),\
- LDEXE:=$(HOST_LD),\
+ CC:=$(BUILD_CC),\
+ LDEXE:=$(BUILD_LD),\
LDFLAGS:=-lelf,\
OBJECT_DIR:=$(JDK_OUTPUTDIR)/objs/add_gnu_debuglink,\
OUTPUT_DIR:=$(JDK_OUTPUTDIR)/btbin,\
@@ -144,8 +144,8 @@
$(eval $(call SetupNativeCompilation,FIX_EMPTY_SEC_HDR_FLAGS,\
SRC:=$(JDK_TOPDIR)/make/tools/fix_empty_sec_hdr_flags,\
LANG:=C,\
- CC:=$(HOST_CC),\
- LDEXE:=$(HOST_LD),\
+ CC:=$(BUILD_CC),\
+ LDEXE:=$(BUILD_LD),\
LDFLAGS:=-lelf,\
OBJECT_DIR:=$(JDK_OUTPUTDIR)/objs/fix_empty_sec_hdr_flags,\
OUTPUT_DIR:=$(JDK_OUTPUTDIR)/btbin,\