From b4ff616393cd102ad2bacb9e94a609fa35780635 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 18 Jun 2005 21:49:02 +0000 Subject: 100l, -march=k8 was used with cpu detection even when compiler did not support it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15752 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 75bbc914e6..1885c9b7ed 100755 --- a/configure +++ b/configure @@ -989,6 +989,8 @@ EOF if test "$proc" = "athlon-xp" || test "$proc" = "athlon-4" ; then cc_check -march=$proc $cpuopt=$proc || proc=error fi + _march="-march=$proc" + _mcpu="$cpuopt=$proc" if test "$proc" = "error" ; then echores "Your $_cc does not even support \"athlon-xp\" for '-march' and '$cpuopt'." _mcpu="" @@ -999,8 +1001,6 @@ EOF _mcpu="" fi - _march="-march=$proc" - _mcpu="$cpuopt=$proc" _optimizing="" echores "$proc" -- cgit v1.2.3