diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-27 02:44:37 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-27 02:44:37 +0000 |
commit | 8c93e3ce04b098e75c580c381d3bb648e99beda5 (patch) | |
tree | d065bdc8825b7ebdb1564990f1194a77eb188e0d /security/poly1305aes | |
parent | ab4c63bf00d6af1191b2afeabbacec67c3daf19b (diff) | |
download | ports-8c93e3ce04b098e75c580c381d3bb648e99beda5.tar.gz ports-8c93e3ce04b098e75c580c381d3bb648e99beda5.zip |
security/poly1305aes: fix build on powerpc*
Same error as on e.g. aarch64 with clang, builds with GCC.
Other architectures untested.
Diffstat (limited to 'security/poly1305aes')
-rw-r--r-- | security/poly1305aes/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/poly1305aes/Makefile b/security/poly1305aes/Makefile index a253779896ae..a08a60ebc0cc 100644 --- a/security/poly1305aes/Makefile +++ b/security/poly1305aes/Makefile @@ -22,8 +22,10 @@ CC+= ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} .include <bsd.port.pre.mk> +.if ${ARCH:Mpowerpc*} +USE_GCC= yes +.elif ${ARCH} == "i386" pre-build: -.if ${ARCH} == "i386" @${ECHO_CMD} "ppro" > ${WRKSRC}/poly1305aes.impl .endif |