aboutsummaryrefslogtreecommitdiff
path: root/games/quakeforge
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 /games/quakeforge
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 'games/quakeforge')
-rw-r--r--games/quakeforge/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile
index a1eae860a5d7..4eecacb0ec78 100644
--- a/games/quakeforge/Makefile
+++ b/games/quakeforge/Makefile
@@ -34,6 +34,7 @@ CONFIGURE_ARGS= --disable-alsa \
USE_CSTD= gnu89
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
+LDFLAGS_i386= -Wl,-znotext
SUB_FILES= pkg-message