summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/patches-openjdk-7/icedtea-jdk-nio-use-host-cc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-7/icedtea-jdk-nio-use-host-cc.patch')
-rw-r--r--recipes-core/openjdk/patches-openjdk-7/icedtea-jdk-nio-use-host-cc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-7/icedtea-jdk-nio-use-host-cc.patch b/recipes-core/openjdk/patches-openjdk-7/icedtea-jdk-nio-use-host-cc.patch
new file mode 100644
index 0000000..80fc808
--- /dev/null
+++ b/recipes-core/openjdk/patches-openjdk-7/icedtea-jdk-nio-use-host-cc.patch
@@ -0,0 +1,11 @@
1--- openjdk/jdk/make/java/nio/Makefile
2+++ openjdk/jdk/make/java/nio/Makefile
3@@ -961,7 +961,7 @@
4 ifeq ($(PLATFORM), macosx)
5 NIO_CC=$(HOST_CC)
6 else
7- NIO_CC=$(CC)
8+ NIO_CC=$(CC_FOR_BUILD)
9 endif
10
11 $(GENSOR_EXE) : $(TEMPDIR)/$(GENSOR_SRC)