<< Xcode: iPhone or iPad application code sign error | Home | Xcode 3.2.6 and OSX Lion (10.7) - Make it install >>

Tell (automake) configure to use specific architecture on Mac OSX

Where we want to build 32 bit binary on OSX, and we know the codebase has a mix of C and C++ code.

ARCHFLAGS="-arch i386" CFLAGS="-arch i386" CPPFLAGS="-arch i386" LDFLAGS="-arch i386" ./configure