diff options
author | acm <acm@FreeBSD.org> | 2009-01-16 12:23:47 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2009-01-16 12:23:47 +0800 |
commit | b84403a73ace64d67bd491ab9f914c68f77482f6 (patch) | |
tree | e783695797fa46d78675c232bd7174be05235a04 /devel/ode | |
parent | ea043d65d8ebaedf69bd4ec521bc6185ab4bca7e (diff) | |
download | freebsd-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/Makefile | 4 |
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 |