aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-6-6b32/icedtea-hostbuildcc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/openjdk-6-6b32/icedtea-hostbuildcc.patch')
-rw-r--r--recipes-core/openjdk/openjdk-6-6b32/icedtea-hostbuildcc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-6-6b32/icedtea-hostbuildcc.patch b/recipes-core/openjdk/openjdk-6-6b32/icedtea-hostbuildcc.patch
new file mode 100644
index 0000000..3d7c619
--- /dev/null
+++ b/recipes-core/openjdk/openjdk-6-6b32/icedtea-hostbuildcc.patch
@@ -0,0 +1,12 @@
+diff --git openjdk/hotspot/make/linux/makefiles/rules.make openjdk/hotspot/make/linux/makefiles/rules.make
+index b40c081..2dfbfc8 100644
+--- openjdk/hotspot/make/linux/makefiles/rules.make
++++ openjdk/hotspot/make/linux/makefiles/rules.make
+@@ -36,6 +36,7 @@ DEMANGLE = $(DEMANGLER) < $@ > .$@ && mv -f .$@ $@
+ # variables: $(CFLAGS), $(CXXFLAGS) and $(CPPFLAGS).
+ CC_COMPILE = $(CC) $(CXXFLAGS)
+ CXX_COMPILE = $(CXX) $(CXXFLAGS) $(CFLAGS)
++CC_HOST_COMPILE = $(BUILD_CC) $(CPPFLAGS) $(CFLAGS)
+
+ AS.S = $(AS) $(ASFLAGS)
+