summaryrefslogtreecommitdiff
path: root/package/ffmpeg/patches/patch-configure
blob: 645eb4d6a6077d8a9bbccede2fed8a16e9b4e065 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ffmpeg-4.4.1.orig/configure	2021-10-24 22:47:11.000000000 +0200
+++ ffmpeg-4.4.1/configure	2022-02-25 12:51:17.554887194 +0100
@@ -4984,9 +4984,10 @@ elif enabled arm; then
         fi
     }
 
-    [ "$cpu" = generic ] && cpu=$(probe_arm_arch)
-
     case $cpu in
+	generic)
+	    subarch=$(probe_arm_arch | sed 's/[^a-z0-9]//g')
+	;;
         armv*)
             cpuflags="-march=$cpu"
             subarch=$(echo $cpu | sed 's/[^a-z0-9]//g')