pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libaom libaom: fix building on armv7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a26e6947f9eb
branches:  trunk
changeset: 455117:a26e6947f9eb
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jun 28 11:52:41 2021 +0000

description:
libaom: fix building on armv7

diffstat:

 multimedia/libaom/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 852970f30987 -r a26e6947f9eb multimedia/libaom/Makefile
--- a/multimedia/libaom/Makefile        Mon Jun 28 11:20:55 2021 +0000
+++ b/multimedia/libaom/Makefile        Mon Jun 28 11:52:41 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2021/06/13 06:22:12 nia Exp $
+# $NetBSD: Makefile,v 1.14 2021/06/28 11:52:41 nia Exp $
 
 PKGNAME=       libaom-1.0.0
 PKGREVISION=   4
@@ -49,6 +49,7 @@
 .elif !empty(MACHINE_ARCH:Mpowerpc*)
 CMAKE_ARGS+=   -DAOM_TARGET_CPU="ppc"
 .elif ${MACHINE_ARCH} == "earmv7hf"
+CFLAGS+=       -mfpu=neon
 CMAKE_ARGS+=   -DAOM_TARGET_CPU="armv7"
 .elif ${MACHINE_ARCH} == "aarch64"
 CMAKE_ARGS+=   -DAOM_TARGET_CPU="arm64"



Home | Main Index | Thread Index | Old Index