When installing mysqlclient in Python environment
cc1: error: unrecognized command line option "-arch"
error: command 'gcc' failed with exit status 1
What to do if you get. (Maybe with Mysql-python as well)
/usr/local/mysql/bin/mysql_config
Edit (the path differs depending on the build environment). Around the 120th line
cflags="-I$pkgincludedir -Wall -Os -g -fno-strict-aliasing -DDBUG_OFF -arch x86_64 " #note: end space!
Comment out.