1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Better fix for amd64 (and ia64, omitted in previous); only compile with

-fPIC those files that require it.
This commit is contained in:
Kris Kennaway 2004-03-19 23:01:48 +00:00
parent fbb546122a
commit f0a4a6be40
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104678
2 changed files with 10 additions and 3 deletions

View File

@ -33,7 +33,4 @@ GNU_CONFIGURE= yes
MANCOMPRESSED= yes
MAN1= golem.1
.if ${MACHINE_ARCH:L} == "amd64"
CFLAGS+= -fPIC
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
--- plugins/Makefile.plugin.in.orig Fri Mar 19 15:00:46 2004
+++ plugins/Makefile.plugin.in Fri Mar 19 15:00:57 2004
@@ -1,6 +1,6 @@
# plugin makefiles include this
CC= @CC@
-CFLAGS= @CFLAGS@ -I../../src/ -I../include/ @X_CFLAGS@
+CFLAGS= @CFLAGS@ -I../../src/ -I../include/ -fPIC @X_CFLAGS@
CFLAGS+= @DEFS@
LDFLAGS= @SHARED_FLAG@