I get the following error when attempting to install psycopg2 via pip on Mavericks 10.9:
psycopg2
clang: error: unknown argument: \'-mno-fused-madd\' [-W
I used homebrew to install postgresql, and then wanted to install psycopg2 into the system-provided python 2.7 on Mavericks. To get that to work I ended up running this:
sudo ARCHFLAGS="-arch x86_64" CFLAGS=-Wunused-command-line-argument-hard-error-in-future pip install psycopg2