aboutsummaryrefslogtreecommitdiff
path: root/emulators/mupen64plus-core
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-09-26 16:12:12 +0000
committerEd Maste <emaste@FreeBSD.org>2018-09-26 16:12:12 +0000
commit8399ead6f8fe54dc8ff4baad8e3fc70520dcc1ab (patch)
tree04964e84769ceaf209ed3f5f1261b819bfb55c22 /emulators/mupen64plus-core
parentb0a163659a917eec2efcdde8f90e9f107d3a6142 (diff)
downloadports-8399ead6f8fe54dc8ff4baad8e3fc70520dcc1ab.tar.gz
ports-8399ead6f8fe54dc8ff4baad8e3fc70520dcc1ab.zip
Add -znotext to LDFLAGS on i386, for lld
These ports link some non-PIC code, which fails with lld as it defaults to disallowing relocations against read-only segments. For i386 we can just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's existing default. PR: 214864 Approved by: portmgr (lld blanket) Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=480747
Diffstat (limited to 'emulators/mupen64plus-core')
-rw-r--r--emulators/mupen64plus-core/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/emulators/mupen64plus-core/Makefile b/emulators/mupen64plus-core/Makefile
index 58ae1a4b2a95..56d699c74231 100644
--- a/emulators/mupen64plus-core/Makefile
+++ b/emulators/mupen64plus-core/Makefile
@@ -19,6 +19,7 @@ USE_GL?= yes
USE_SDL?= sdl2
USE_LDCONFIG?= yes
ONLY_FOR_ARCHS= i386 amd64
+LDFLAGS_i386= -Wl,-znotext
OPTFLAGS= #