pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/libvpx arm_cpudetect.c doesn't cover macOS....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/629d5add652a
branches:  trunk
changeset: 455895:629d5add652a
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Jul 13 15:35:42 2021 +0000

description:
arm_cpudetect.c doesn't cover macOS. On M1 Macs, set
--disable-runtime-cpu-detect to fix build.

diffstat:

 multimedia/libvpx/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r d20de38274aa -r 629d5add652a multimedia/libvpx/Makefile
--- a/multimedia/libvpx/Makefile        Tue Jul 13 15:10:06 2021 +0000
+++ b/multimedia/libvpx/Makefile        Tue Jul 13 15:35:42 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.87 2021/05/24 19:53:13 wiz Exp $
+# $NetBSD: Makefile,v 1.88 2021/07/13 15:35:42 schmonz Exp $
 
 DISTNAME=      libvpx-1.10.0
 PKGREVISION=   1
@@ -56,6 +56,8 @@
 .    else
 CONFIGURE_ARGS+=       --target=x86_64-darwin9-gcc
 .    endif
+.  elif ${MACHINE_ARCH} == "aarch64"
+CONFIGURE_ARGS+=       --disable-runtime-cpu-detect
 .  endif
 .elif ${OPSYS} == "SunOS" && !empty(PKGSRC_COMPILER:Mgcc*)
 .  if ${MACHINE_ARCH} == "x86_64"



Home | Main Index | Thread Index | Old Index