Date: Wed, 27 Oct 2021 02:48:05 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 8c93e3ce04b0 - main - security/poly1305aes: fix build on powerpc* Message-ID: <202110270248.19R2m5Pu070743@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110270248.19R2m5Pu070743>