git: 8c93e3ce04b0 - main - security/poly1305aes: fix build on powerpc*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Oct 2021 02:48:05 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c93e3ce04b098e75c580c381d3bb648e99beda5 commit 8c93e3ce04b098e75c580c381d3bb648e99beda5 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-10-27 02:44:37 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-10-27 02:44:37 +0000 security/poly1305aes: fix build on powerpc* Same error as on e.g. aarch64 with clang, builds with GCC. Other architectures untested. --- security/poly1305aes/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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