From 2bdc2412a1b96f589e0535282c955d904bc2a53d Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 29 May 2010 14:44:02 +0000 Subject: Fix compilation if the compiler does not support -march=amdfam10 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31265 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 61fa4a7869..c3091b3b4d 100755 --- a/configure +++ b/configure @@ -1916,6 +1916,9 @@ EOF if test $cc_vendor != "intel" ; then cc_check -march=native && proc=native fi + if test "$proc" = "amdfam10"; then + cc_check -march=$proc $cpuopt=$proc || proc=k8 + fi if test "$proc" = "k8"; then cc_check -march=$proc $cpuopt=$proc || proc=athlon-xp fi -- cgit v1.2.3