aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-29 02:27:39 +0800
committerarved <arved@FreeBSD.org>2004-02-29 02:27:39 +0800
commit9b4514f1959d22ff61451cf3a4add18ce02ed585 (patch)
tree6779c6cedfd14699dee11800b111900de262a643 /x11-wm
parentbe9f8320314890975eac62316cfba5f277377439 (diff)
downloadfreebsd-ports-gnome-9b4514f1959d22ff61451cf3a4add18ce02ed585.tar.gz
freebsd-ports-gnome-9b4514f1959d22ff61451cf3a4add18ce02ed585.tar.zst
freebsd-ports-gnome-9b4514f1959d22ff61451cf3a4add18ce02ed585.zip
Respect CFLAGS. Fix build on AMD64
Reported by: bento
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/golem/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-wm/golem/Makefile b/x11-wm/golem/Makefile
index b5f73c49f1d1..9463619b9448 100644
--- a/x11-wm/golem/Makefile
+++ b/x11-wm/golem/Makefile
@@ -29,9 +29,11 @@ CONFIGURE_ARGS+= --enable-xinerama
USE_X_PREFIX= yes
USE_XPM= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="-pipe -DNDEBUG -O2"
MANCOMPRESSED= yes
MAN1= golem.1
+.if ${MACHINE_ARCH:L} == "amd64"
+CFLAGS+= -fPIC
+.endif
.include <bsd.port.mk>