aboutsummaryrefslogtreecommitdiffstats
path: root/community/openjdk8/build-demo-ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/openjdk8/build-demo-ldflags.patch')
-rw-r--r--community/openjdk8/build-demo-ldflags.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/community/openjdk8/build-demo-ldflags.patch b/community/openjdk8/build-demo-ldflags.patch
deleted file mode 100644
index b30cc455ac..0000000000
--- a/community/openjdk8/build-demo-ldflags.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-our LDFLAGS has -Wl,-z,relro but the commas are expanded too early in makefile.
-
---- ./jdk/make/CompileDemos.gmk.orig
-+++ ./jdk/make/CompileDemos.gmk
-@@ -244,6 +244,7 @@
- # eval call below, the comma gets expanded too early.
- BUILD_DEMO_JVMTI_$1_CFLAGS := $(CFLAGS_JDKLIB) $(CFLAGS_DEBUG_SYMBOLS) \
- -I$(JDK_TOPDIR)/src/share/demo/jvmti/$1 $$(BUILD_DEMO_JVMTI_$1_EXTRA_INC) $3
-+ BUILD_DEMO_JVMTI_$1_LDFLAGS := $(filter-out -incremental:no -opt:ref,$(LDFLAGS_JDKLIB))
-
- # Remove the -incremental:no setting to get .ilk-files like in the old build.
- $$(eval $$(call SetupNativeCompilation,BUILD_DEMO_JVMTI_$1, \
-@@ -251,7 +252,7 @@
- LANG := $$(BUILD_DEMO_JVMTI_$1_LANG), \
- OPTIMIZATION := LOW, \
- CXXFLAGS := $$($1_CXXFLAGS), \
-- LDFLAGS := $(filter-out -incremental:no -opt:ref, $$(LDFLAGS_JDKLIB)), \
-+ LDFLAGS := $$(BUILD_DEMO_JVMTI_$1_LDFLAGS), \
- LDFLAGS_macosx := $$(call SET_EXECUTABLE_ORIGIN), \
- LDFLAGS_SUFFIX := $$($1_EXTRA_CXX), \
- LDFLAGS_SUFFIX_posix := $5, \