diff options
| author | Henning Heinold <heinold@inf.fu-berlin.de> | 2012-11-22 18:44:06 +0100 |
|---|---|---|
| committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2012-11-22 18:44:06 +0100 |
| commit | e6e59540e4540dfca17c5904aad6fdc23cf6934e (patch) | |
| tree | c72bc47a8726d3f7ef782402eb1fe2d0beade43b /recipes-core/openjdk/openjdk-7-03b21/icedtea-jdk-nio-use-host-cc.patch | |
| parent | 8ef1ab1273b331d0d39bcfc24a1fe80d77a588c7 (diff) | |
| download | meta-java-e6e59540e4540dfca17c5904aad6fdc23cf6934e.tar.gz | |
openjdk7: copy over the openjdk7 from openjdk7-branch
The branches differed to much and I wanted to
keep openjdk-6.
We will loose some history, but
I think that is not a great problem
Thanks to khem for working on the recipes too.
Diffstat (limited to 'recipes-core/openjdk/openjdk-7-03b21/icedtea-jdk-nio-use-host-cc.patch')
| -rw-r--r-- | recipes-core/openjdk/openjdk-7-03b21/icedtea-jdk-nio-use-host-cc.patch | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-7-03b21/icedtea-jdk-nio-use-host-cc.patch b/recipes-core/openjdk/openjdk-7-03b21/icedtea-jdk-nio-use-host-cc.patch new file mode 100644 index 0000000..6b14673 --- /dev/null +++ b/recipes-core/openjdk/openjdk-7-03b21/icedtea-jdk-nio-use-host-cc.patch | |||
| @@ -0,0 +1,89 @@ | |||
| 1 | diff --git openjdk/jdk/make/java/nio/Makefile openjdk/jdk/make/java/nio/Makefile | ||
| 2 | index 7906531..afa5d46 100644 | ||
| 3 | --- openjdk/jdk/make/java/nio/Makefile | ||
| 4 | +++ openjdk/jdk/make/java/nio/Makefile | ||
| 5 | @@ -823,7 +823,7 @@ $(TEMPDIR)/$(GENSOR_SRC) : $(GENSOR_SRC) | ||
| 6 | |||
| 7 | $(GENSOR_EXE) : $(TEMPDIR)/$(GENSOR_SRC) | ||
| 8 | $(prep-target) | ||
| 9 | - ($(CD) $(TEMPDIR); $(CC) $(CPPFLAGS) $(LDDFLAGS) \ | ||
| 10 | + ($(CD) $(TEMPDIR); $(CC_FOR_BUILD) $(CPPFLAGS) $(LDDFLAGS) \ | ||
| 11 | -o genSocketOptionRegistry$(EXE_SUFFIX) $(GENSOR_SRC)) | ||
| 12 | |||
| 13 | ifdef NIO_PLATFORM_CLASSES_ROOT_DIR | ||
| 14 | @@ -834,12 +834,8 @@ else | ||
| 15 | $(SCH_GEN)/SocketOptionRegistry.java: $(GENSOR_EXE) | ||
| 16 | $(prep-target) | ||
| 17 | NAWK="$(NAWK)" SH="$(SH)" $(SH) -e addNotices.sh "$(SOR_COPYRIGHT_YEARS)" > $@ | ||
| 18 | -ifdef CROSS_COMPILE_ARCH | ||
| 19 | - $(QEMU) $(GENSOR_EXE) >> $@ | ||
| 20 | -else | ||
| 21 | $(GENSOR_EXE) >> $@ | ||
| 22 | endif | ||
| 23 | -endif | ||
| 24 | # | ||
| 25 | # Generated sun.nio.cs SingleByte classes | ||
| 26 | # | ||
| 27 | @@ -863,7 +859,7 @@ GENUC_COPYRIGHT_YEARS = $(shell $(CAT) $(GENUC_SRC) | \ | ||
| 28 | |||
| 29 | $(GENUC_EXE) : $(GENUC_SRC) | ||
| 30 | $(prep-target) | ||
| 31 | - $(CC) $(CPPFLAGS) -o $@ $(GENUC_SRC) | ||
| 32 | + $(CC_FOR_BUILD) $(CPPFLAGS) -o $@ $(GENUC_SRC) | ||
| 33 | |||
| 34 | ifdef NIO_PLATFORM_CLASSES_ROOT_DIR | ||
| 35 | $(SFS_GEN)/UnixConstants.java: $(NIO_PLATFORM_CLASSES_ROOT_DIR)/sun/nio/fs/UnixConstants-$(PLATFORM)-$(ARCH).java | ||
| 36 | @@ -873,12 +869,8 @@ else | ||
| 37 | $(SFS_GEN)/UnixConstants.java: $(GENUC_EXE) | ||
| 38 | $(prep-target) | ||
| 39 | NAWK="$(NAWK)" SH="$(SH)" $(SH) -e addNotices.sh "$(GENUC_COPYRIGHT_YEARS)" > $@ | ||
| 40 | -ifdef CROSS_COMPILE_ARCH | ||
| 41 | - $(QEMU) $(GENUC_EXE) >> $@ | ||
| 42 | -else | ||
| 43 | $(GENUC_EXE) >> $@ | ||
| 44 | endif | ||
| 45 | -endif | ||
| 46 | |||
| 47 | GENSC_SRC = $(PLATFORM_SRC)/native/sun/nio/fs/genSolarisConstants.c | ||
| 48 | |||
| 49 | @@ -889,7 +881,7 @@ GENSC_COPYRIGHT_YEARS = $(shell $(CAT) $(GENSC_SRC) | \ | ||
| 50 | |||
| 51 | $(GENSC_EXE) : $(GENSC_SRC) | ||
| 52 | $(prep-target) | ||
| 53 | - $(CC) $(CPPFLAGS) -o $@ $(GENSC_SRC) | ||
| 54 | + $(CC_FOR_BUILD) $(CPPFLAGS) -o $@ $(GENSC_SRC) | ||
| 55 | |||
| 56 | ifdef NIO_PLATFORM_CLASSES_ROOT_DIR | ||
| 57 | $(SFS_GEN)/SolarisConstants.java: $(NIO_PLATFORM_CLASSES_ROOT_DIR)/sun/nio/fs/SolarisConstants-$(PLATFORM)-$(ARCH).java | ||
| 58 | @@ -899,11 +891,7 @@ else | ||
| 59 | $(SFS_GEN)/SolarisConstants.java: $(GENSC_EXE) | ||
| 60 | $(prep-target) | ||
| 61 | NAWK="$(NAWK)" SH="$(SH)" $(SH) -e addNotices.sh "$(GENSC_COPYRIGHT_YEARS)" > $@ | ||
| 62 | -ifdef CROSS_COMPILE_ARCH | ||
| 63 | - $(QEMU) $(GENSC_EXE) >> $@ | ||
| 64 | -else | ||
| 65 | $(GENSC_EXE) >> $@ | ||
| 66 | endif | ||
| 67 | -endif | ||
| 68 | |||
| 69 | .PHONY: sources | ||
| 70 | --- openjdk/jdk/make/sun/Makefile.khem 2012-08-10 19:32:40.695550897 -0700 | ||
| 71 | +++ openjdk/jdk/make/sun/Makefile 2012-08-10 19:33:39.195550853 -0700 | ||
| 72 | @@ -55,7 +55,7 @@ ifneq ($(PLATFORM), windows) | ||
| 73 | endif | ||
| 74 | endif | ||
| 75 | HEADLESS_SUBDIR = headless | ||
| 76 | - XAWT_SUBDIR = xawt | ||
| 77 | + XAWT_SUBDIR = | ||
| 78 | endif | ||
| 79 | |||
| 80 | ifndef OPENJDK | ||
| 81 | @@ -79,7 +79,7 @@ else | ||
| 82 | endif | ||
| 83 | SUBDIRS_desktop = audio $(RENDER_SUBDIR) image \ | ||
| 84 | $(DISPLAY_LIBS) $(DGA_SUBDIR) \ | ||
| 85 | - jawt font jpeg cmm $(DISPLAY_TOOLS) beans | ||
| 86 | + font jpeg cmm $(DISPLAY_TOOLS) beans | ||
| 87 | SUBDIRS_management = management | ||
| 88 | SUBDIRS_misc = $(ORG_SUBDIR) rmi $(JDBC_SUBDIR) tracing | ||
| 89 | SUBDIRS_tools = native2ascii serialver tools jconsole | ||
