summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-02 10:13:08 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-02 10:13:08 +0000
commit1468d39b01b47a5d2044f86e19822feecfffbedd (patch)
tree27b5f0624c3f88d168355860c59828a6549c2d42 /configure
parentfd6ce85192140e64a0ea7306f36071b7eb5f9399 (diff)
downloadmpv-1468d39b01b47a5d2044f86e19822feecfffbedd.tar.bz2
mpv-1468d39b01b47a5d2044f86e19822feecfffbedd.tar.xz
Do not try -march=native for icc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30984 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 8dfca8e5c9..60e0a58fc6 100755
--- a/configure
+++ b/configure
@@ -1912,7 +1912,9 @@ cat > $TMPC << EOF
int main(void) { return 0; }
EOF
if test "$_runtime_cpudetection" = no ; then
+ if test $cc_vendor != "intel" ; then
cc_check -march=native && proc=native
+ fi
if test "$proc" = "k8"; then
cc_check -march=$proc $cpuopt=$proc || proc=athlon-xp
fi
@@ -2060,7 +2062,9 @@ int main(void) { return 0; }
EOF
# This is a stripped-down version of the i386 fallback.
if test "$_runtime_cpudetection" = no ; then
+ if test $cc_vendor != "intel" ; then
cc_check -march=native && proc=native
+ fi
# --- AMD processors ---
if test "$proc" = "k8"; then
cc_check -march=$proc $cpuopt=$proc || proc=athlon-xp