]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Allow icc to compile with optimizations (pentium3, pentium4 or core2).
authorcehoyos <cehoyos@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 11 May 2008 17:46:55 +0000 (17:46 +0000)
committercehoyos <cehoyos@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 11 May 2008 17:46:55 +0000 (17:46 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13119 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

configure

index 6403f94a26fde7739e1a86728e5edbd80c419b73..52e8f9f0c8105061f5e90f31c784582f589a2fa8 100755 (executable)
--- 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