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
For me, the bad flags were explicitly given in the package's Makefile. So I had to edit the makefile to remove the unrecognized flag from the erroring package.