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 /comms/libfec | |
parent | 94cfddd88b5504163425ef7d62dc9066c0967772 (diff) | |
download | ports-9c19df593a82f27525bddda97946febd7e1fbb3e.tar.gz ports-9c19df593a82f27525bddda97946febd7e1fbb3e.zip |
Notes
Diffstat (limited to 'comms/libfec')
-rw-r--r-- | comms/libfec/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/comms/libfec/Makefile b/comms/libfec/Makefile index 6f41d8cb07bc..6e5e198afc07 100644 --- a/comms/libfec/Makefile +++ b/comms/libfec/Makefile @@ -26,11 +26,8 @@ PLIST_FILES= include/fec.h \ man/man3/rs.3.gz \ man/man3/simd-viterbi.3.gz -.include <bsd.port.pre.mk> - -.if ${ARCH} == "amd64" -CFLAGS+= -fPIC -.endif +CFLAGS_aarch64= -fPIC +CFLAGS_amd64= -fPIC post-patch: @${CP} ${FILESDIR}/cpu_mode.c ${WRKSRC} @@ -46,4 +43,4 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/${_man} ${STAGEDIR}${MAN3PREFIX}/man/man3 .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> |