diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2017-02-09 18:53:12 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2017-02-09 18:53:12 +0000 |
commit | 9c19df593a82f27525bddda97946febd7e1fbb3e (patch) | |
tree | be5801b4b385a04c75cc1baf3b06a46cc4f893e5 /lang/squirrel | |
parent | 94cfddd88b5504163425ef7d62dc9066c0967772 (diff) |
Add -fPIC to various ports to enable them to build on armv6.
Approved by: portmgr (tier-2 blanket)
Notes
Notes:
svn path=/head/; revision=433767
Diffstat (limited to 'lang/squirrel')
-rw-r--r-- | lang/squirrel/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/squirrel/Makefile b/lang/squirrel/Makefile index 9aea441fa114..80505b3da780 100644 --- a/lang/squirrel/Makefile +++ b/lang/squirrel/Makefile @@ -16,11 +16,14 @@ USES= dos2unix USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/SQUIRREL2 +CFLAGS_aarch64= -fPIC +CFLAGS_amd64= -fPIC +CFLAGS_sparc64= -fPIC + .include <bsd.port.pre.mk> -.if ${ARCH} == amd64 || ${ARCH} == sparc64 || ${ARCH} == ia64 +.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == sparc64 ALL_TARGET= sq64 -CFLAGS+= -fPIC .else ALL_TARGET= sq32 .endif |