summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-05-11 17:46:55 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-05-11 17:46:55 +0000
commit907eb3b5265b88365a47f265d114d26e470c82fb (patch)
tree614be3ae581ba08ebd68bcf8c332592b07b93cd6 /configure
parent504a64b95db88247cff8d66999f82d536281f306 (diff)
Allow icc to compile with optimizations (pentium3, pentium4 or core2).
Originally committed as revision 13119 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 6403f94a26..52e8f9f0c8 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