diff options
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/1012-hotspot-restrict-to-staging-dir.patch')
-rw-r--r-- | recipes-core/openjdk/patches-openjdk-8/1012-hotspot-restrict-to-staging-dir.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-restrict-to-staging-dir.patch b/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-restrict-to-staging-dir.patch new file mode 100644 index 0000000..b61f664 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-restrict-to-staging-dir.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From e4c080e29afa3f93383c1e046273cd20ec835ca3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jens Rehsack <rehsack@gmail.com> | ||
3 | Date: Thu, 2 Jan 2020 10:23:38 +0100 | ||
4 | Subject: [PATCH 1012/1012] hotspot: restrict to staging dir | ||
5 | |||
6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
7 | --- | ||
8 | make/linux/makefiles/dtrace.make | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/hotspot/make/linux/makefiles/dtrace.make b/hotspot/make/linux/makefiles/dtrace.make | ||
12 | index 386e94b1f..7642a67f8 100644 | ||
13 | --- a/hotspot/make/linux/makefiles/dtrace.make | ||
14 | +++ b/hotspot/make/linux/makefiles/dtrace.make | ||
15 | @@ -40,7 +40,7 @@ else | ||
16 | ifneq ($(ALT_SDT_H),) | ||
17 | SDT_H_FILE = $(ALT_SDT_H) | ||
18 | else | ||
19 | - SDT_H_FILE = /usr/include/sys/sdt.h | ||
20 | + SDT_H_FILE = $(SYS_ROOT)/usr/include/sys/sdt.h | ||
21 | endif | ||
22 | DTRACE_ENABLED = $(shell test -f $(SDT_H_FILE) && echo $(SDT_H_FILE)) | ||
23 | REASON = "$(SDT_H_FILE) not found" | ||
24 | -- | ||
25 | 2.24.1 | ||
26 | |||