Reputation: 7626
I notice that gcc on OSX Snow Leopard doesn't support -march=native. What command can I put in the configure script to detect whether the option is available?
Upvotes: 3
Views: 510
Reputation: 7626
The following seems to work:
echo "" | gcc -fsyntax-only -march=native -xc -
Upvotes: 3