git: 7428b7670d41 - main - audio/madronalib: fix build on powerpc64

Piotr Kubaj pkubaj at FreeBSD.org
Tue Apr 20 20:27:03 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7428b7670d413405f630ec2db0c2c2006cfa336f

commit 7428b7670d413405f630ec2db0c2c2006cfa336f
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-04-20 20:26:48 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-04-20 20:26:48 +0000

    audio/madronalib: fix build on powerpc64
    
    Same issue as on powerpc64le.
---
 audio/madronalib/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/audio/madronalib/Makefile b/audio/madronalib/Makefile
index 40642b803f26..f23924630b7f 100644
--- a/audio/madronalib/Makefile
+++ b/audio/madronalib/Makefile
@@ -22,8 +22,8 @@ CMAKE_ON=	LINUX_JACK
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == powerpc64le
-CXXFLAGS+=	-DNO_WARN_X86_INTRINSICS
+.if ${ARCH:Mpowerpc64*}
+CXXFLAGS+=	-DNO_WARN_X86_INTRINSICS -maltivec -mvsx
 USES+=		compiler:gcc-c++11-lib
 .else
 USES+=		compiler:c++11-lib


More information about the dev-commits-ports-all mailing list