On 02/10/2013 03:36 AM, Neal Becker wrote:
> Is there a way to add '-march=native' flag to gcc for the build?

I think something along these lines should work (untested):

CFLAGS="$(python-config --cflags) -march=native" python setup.py install

Dag Sverre
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to