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:
parent
fbb546122a
commit
f0a4a6be40
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104678
@ -33,7 +33,4 @@ GNU_CONFIGURE= yes
|
||||
MANCOMPRESSED= yes
|
||||
MAN1= golem.1
|
||||
|
||||
.if ${MACHINE_ARCH:L} == "amd64"
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
.include <bsd.port.mk>
|
||||
|
10
x11-wm/golem/files/patch-plugins::Makefile.plugin.in
Normal file
10
x11-wm/golem/files/patch-plugins::Makefile.plugin.in
Normal 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@
|
||||
|
Loading…
Reference in New Issue
Block a user