This fixes many icc warnings when not setting the CPU type.
---
 configure |    2 --
 1 file changed, 2 deletions(-)

diff --git a/configure b/configure
index ff32f1f..6999855 100755
--- a/configure
+++ b/configure
@@ -3718,8 +3718,6 @@ if enabled icc; then
     # 11030: Warning unknown option --as-needed
     # 10156: ignoring option '-export'; no argument required
     check_ldflags -wd10156,11030
-    # Allow to compile with optimizations
-    check_ldflags -march=$cpu
     # icc 11.0 and 11.1 work with ebp_available, but don't pass the test
     enable ebp_available
     if enabled x86_32; then
-- 
1.7.9.5

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

Reply via email to