Some gcc-based toolchain would fail to link if the abi set by the
cpuflags does not match the default.
---

I tried to make it as safe as possible, probably setting it unconditionally
might work as well.

 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 852b931..381d24a 100755
--- a/configure
+++ b/configure
@@ -3461,6 +3461,7 @@ fi
 if [ "$cpu" != generic ]; then
     add_cflags  $cpuflags
     add_asflags $cpuflags
+    test "$cc_type" = "$ld_type" && add_ldflags $cpuflags
 fi

 # compiler sanity check
--
2.5.0

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to