mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 08:29:36 +00:00
Do not try -march=native for icc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30984 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fd6ce85192
commit
1468d39b01
4
configure
vendored
4
configure
vendored
@ -1912,7 +1912,9 @@ cat > $TMPC << EOF
|
|||||||
int main(void) { return 0; }
|
int main(void) { return 0; }
|
||||||
EOF
|
EOF
|
||||||
if test "$_runtime_cpudetection" = no ; then
|
if test "$_runtime_cpudetection" = no ; then
|
||||||
|
if test $cc_vendor != "intel" ; then
|
||||||
cc_check -march=native && proc=native
|
cc_check -march=native && proc=native
|
||||||
|
fi
|
||||||
if test "$proc" = "k8"; then
|
if test "$proc" = "k8"; then
|
||||||
cc_check -march=$proc $cpuopt=$proc || proc=athlon-xp
|
cc_check -march=$proc $cpuopt=$proc || proc=athlon-xp
|
||||||
fi
|
fi
|
||||||
@ -2060,7 +2062,9 @@ int main(void) { return 0; }
|
|||||||
EOF
|
EOF
|
||||||
# This is a stripped-down version of the i386 fallback.
|
# This is a stripped-down version of the i386 fallback.
|
||||||
if test "$_runtime_cpudetection" = no ; then
|
if test "$_runtime_cpudetection" = no ; then
|
||||||
|
if test $cc_vendor != "intel" ; then
|
||||||
cc_check -march=native && proc=native
|
cc_check -march=native && proc=native
|
||||||
|
fi
|
||||||
# --- AMD processors ---
|
# --- AMD processors ---
|
||||||
if test "$proc" = "k8"; then
|
if test "$proc" = "k8"; then
|
||||||
cc_check -march=$proc $cpuopt=$proc || proc=athlon-xp
|
cc_check -march=$proc $cpuopt=$proc || proc=athlon-xp
|
||||||
|
Loading…
Reference in New Issue
Block a user