diff options
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-adlc-flags.patch')
-rw-r--r-- | recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-adlc-flags.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-adlc-flags.patch b/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-adlc-flags.patch deleted file mode 100644 index fa26d04..0000000 --- a/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-adlc-flags.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | adlc is built using the native toolchain, not the crosscompiler. It however | ||
2 | was incorrectly using flags meant for the crosscompiler. | ||
3 | |||
4 | Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> | ||
5 | |||
6 | Upstream-Status: Inappropriate [Yocto-specific fixes] | ||
7 | |||
8 | --- | ||
9 | hotspot/make/linux/makefiles/adlc.make | 10 ++++++++++ | ||
10 | 1 file changed, 10 insertions(+) | ||
11 | |||
12 | diff --git hotspot/make/linux/makefiles/adlc.make hotspot/make/linux/makefiles/adlc.make | ||
13 | index 8a86691..2789c03 100644 | ||
14 | --- hotspot/make/linux/makefiles/adlc.make | ||
15 | +++ hotspot/make/linux/makefiles/adlc.make | ||
16 | @@ -28,6 +28,16 @@ | ||
17 | |||
18 | include $(GAMMADIR)/make/$(Platform_os_family)/makefiles/rules.make | ||
19 | |||
20 | +# Yocto specific fix - remove target machine flags and replace them with | ||
21 | +# build machine flags, as this part is built using the native toolchain | ||
22 | +CXXFLAGS:=$(filter-out $(TARGET_CXXFLAGS),$(CXXFLAGS)) | ||
23 | +CFLAGS:=$(filter-out $(TARGET_CFLAGS),$(CFLAGS)) | ||
24 | + | ||
25 | +CXXFLAGS += $(BUILD_CXXFLAGS) | ||
26 | +CFLAGS += $(BUILD_CFLAGS) | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | # ######################################################################### | ||
31 | |||
32 | # OUTDIR must be the same as AD_Dir = $(GENERATED)/adfiles in top.make: | ||
33 | -- | ||
34 | 1.9.1 | ||