summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2019-02-23 02:14:49 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2019-02-23 02:14:49 +0000
commit7a94d0494b140bc7aff6a262a23eace55786d858 (patch)
tree8d7e8aa9705340b0c605b11bb148ab0c559e90df /java
parent- Update to 3.0.0 (diff)
Fix build on i386 with lld as a system linker.
Diffstat (limited to 'java')
-rw-r--r--java/openjdk6/files/patch-hotspot_make_bsd_makefiles_vm.make12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/openjdk6/files/patch-hotspot_make_bsd_makefiles_vm.make b/java/openjdk6/files/patch-hotspot_make_bsd_makefiles_vm.make
new file mode 100644
index 000000000000..811281966c7d
--- /dev/null
+++ b/java/openjdk6/files/patch-hotspot_make_bsd_makefiles_vm.make
@@ -0,0 +1,12 @@
+--- hotspot/make/bsd/makefiles/vm.make.orig 2016-12-30 04:31:06 UTC
++++ hotspot/make/bsd/makefiles/vm.make
+@@ -119,6 +119,9 @@ LFLAGS += $(EXTRA_CFLAGS)
+ # Darwin is non-executable-stack by default
+ ifneq ($(OS_VENDOR), Darwin)
+ LFLAGS += -Xlinker -z -Xlinker noexecstack
++ifeq ($(Platform_arch_model), x86_32)
++LFLAGS += -Xlinker -z -Xlinker notext
++endif
+ endif
+
+ LIBS += -lm -pthread