From 907eb3b5265b88365a47f265d114d26e470c82fb Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 11 May 2008 17:46:55 +0000 Subject: [PATCH] Allow icc to compile with optimizations (pentium3, pentium4 or core2). Originally committed as revision 13119 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 6403f94..52e8f9f 100755 --- a/configure +++ b/configure @@ -1827,6 +1827,8 @@ if $cc --version | grep -q Intel; 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 fi # PIC flags for shared library objects where they are needed -- 2.7.4