[packages/aom] use %{_target_cpu} for AOM_TARGET_CPU on arm

atler atler at pld-linux.org
Sun Sep 15 19:52:31 CEST 2024


commit faf1070049c22b29408d675d5ce7ec42f13428aa
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Sep 15 19:47:24 2024 +0200

    use %{_target_cpu} for AOM_TARGET_CPU on arm
    
    armv[78] needed to properly compile neon enabled aom on arm

 aom.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/aom.spec b/aom.spec
index e4c5bfc..8b44436 100644
--- a/aom.spec
+++ b/aom.spec
@@ -123,7 +123,7 @@ cd builddir
 	-DAOM_TARGET_CPU=generic \
 %endif
 %ifarch %{arm}
-	-DAOM_TARGET_CPU=arm \
+	-DAOM_TARGET_CPU=%{_target_cpu} \
 %endif
 %ifarch aarch64
 	-DAOM_TARGET_CPU=arm64 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aom.git/commitdiff/faf1070049c22b29408d675d5ce7ec42f13428aa



More information about the pld-cvs-commit mailing list