# HG changeset patch # User reimar # Date 1277665829 0 # Node ID 7ad75a6dc1b41f0bbae574b6c0ee2245b3c8f2da # Parent 4d06e790f7ad371700bfa0dd9591041d3440c270 clang also does not support -march=native. diff -r 4d06e790f7ad -r 7ad75a6dc1b4 configure --- a/configure Sun Jun 27 19:07:51 2010 +0000 +++ b/configure Sun Jun 27 19:10:29 2010 +0000 @@ -1934,7 +1934,7 @@ int main(void) { return 0; } EOF if test "$_runtime_cpudetection" = no ; then - if test $cc_vendor != "intel" ; then + if test $cc_vendor != "intel" && test $cc_vendor != "clang" ; then cc_check -march=native && proc=native fi if test "$proc" = "amdfam10"; then @@ -2087,7 +2087,7 @@ EOF # This is a stripped-down version of the i386 fallback. if test "$_runtime_cpudetection" = no ; then - if test $cc_vendor != "intel" ; then + if test $cc_vendor != "intel" && test $cc_vendor != "clang" ; then cc_check -march=native && proc=native fi # --- AMD processors ---