aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2018-09-19 01:47:21 +0800
committeremaste <emaste@FreeBSD.org>2018-09-19 01:47:21 +0800
commita672c936e6a8941dc96d7cae5d2ee4e9546a4ec4 (patch)
treebc44179dd20bbcbefcb935757ecd4b85c68c9360 /irc
parent51f9926b0da4a33c77dd36d483090d5ecf7061c8 (diff)
downloadfreebsd-ports-gnome-a672c936e6a8941dc96d7cae5d2ee4e9546a4ec4.tar.gz
freebsd-ports-gnome-a672c936e6a8941dc96d7cae5d2ee4e9546a4ec4.tar.zst
freebsd-ports-gnome-a672c936e6a8941dc96d7cae5d2ee4e9546a4ec4.zip
irc/irssi-xmpp: add -fPIC on i386, to allow linking with lld
By default lld does not allow non-PIC code where PIC is required. Other architectures already apply -fPIC; do so for i386 as well. Approved by: portmgr (lld blanket) Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'irc')
-rw-r--r--irc/irssi-xmpp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/irc/irssi-xmpp/Makefile b/irc/irssi-xmpp/Makefile
index 420f60151eb8..5e46a1004f9c 100644
--- a/irc/irssi-xmpp/Makefile
+++ b/irc/irssi-xmpp/Makefile
@@ -24,6 +24,7 @@ DATADIR= ${PREFIX}/share/irssi
DOCSDIR= ${PREFIX}/share/doc/irssi
CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
+CFLAGS_i386= -fPIC
OPTIONS_DEFINE= DOCS