aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ode
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2009-01-16 12:23:47 +0800
committeracm <acm@FreeBSD.org>2009-01-16 12:23:47 +0800
commitb84403a73ace64d67bd491ab9f914c68f77482f6 (patch)
treee783695797fa46d78675c232bd7174be05235a04 /devel/ode
parentea043d65d8ebaedf69bd4ec521bc6185ab4bca7e (diff)
downloadfreebsd-ports-gnome-b84403a73ace64d67bd491ab9f914c68f77482f6.tar.gz
freebsd-ports-gnome-b84403a73ace64d67bd491ab9f914c68f77482f6.tar.zst
freebsd-ports-gnome-b84403a73ace64d67bd491ab9f914c68f77482f6.zip
- Add -fPIC and -DPIC to CFLAGS for amd64 and ia64.
Forgotten by : me
Diffstat (limited to 'devel/ode')
-rw-r--r--devel/ode/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/ode/Makefile b/devel/ode/Makefile
index e06aa2ab1cde..3ecf3dab288c 100644
--- a/devel/ode/Makefile
+++ b/devel/ode/Makefile
@@ -35,6 +35,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+= -fPIC -DPIC
+.endif
+
.if defined(WITH_GIMPACT) && defined(WITH_DOUBLE)
IGNORE= currently double precision is not supported by gimpact
.endif