mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
Fix build on i386 with lld as a system linker.
This commit is contained in:
parent
b450065cef
commit
7a94d0494b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493634
12
java/openjdk6/files/patch-hotspot_make_bsd_makefiles_vm.make
Normal file
12
java/openjdk6/files/patch-hotspot_make_bsd_makefiles_vm.make
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user