diff mbox series

[FFmpeg-devel,[PATCH] configure: fix armv7 build failure with gcc-11 and Ubuntu 21.10

Message ID 20210918134039.511755-1-costamagnagianfranco@yahoo.it
State New
Headers show
Series [FFmpeg-devel,[PATCH] configure: fix armv7 build failure with gcc-11 and Ubuntu 21.10
Related show

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Gianfranco Costamagna Sept. 18, 2021, 1:40 p.m. UTC
New gcc changed the way it exposes armhf build flags.
"the architecture now has to include the cpu features, see the man page, arM options"

example of build failure:
https://launchpad.net/ubuntu/+source/ffmpeg/7:4.4-6ubuntu1/+build/22070856

Note: this syntax was introduced in GCC 8 https://gcc.gnu.org/gcc-8/changes.html
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/configure b/configure
index 7ac23123c7..571b70208c 100755
--- a/configure
+++ b/configure
@@ -5000,7 +5000,7 @@  elif enabled arm; then
         elif check_arm_arch 6ZK;      then echo armv6zk
         elif check_arm_arch 6T2;      then echo armv6t2
         elif check_arm_arch 7;        then echo armv7
-        elif check_arm_arch 7A  7_A;  then echo armv7-a
+        elif check_arm_arch 7A  7_A;  then echo armv7-a+fp
         elif check_arm_arch 7S;       then echo armv7-a
         elif check_arm_arch 7R  7_R;  then echo armv7-r
         elif check_arm_arch 7M  7_M;  then echo armv7-m