Created
February 11, 2012 17:22
-
-
Save vlucas/1802688 to your computer and use it in GitHub Desktop.
Mac OS X Architecture Flags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# x386 Architecture | |
export CFLAGS="-arch i386 $CFLAGS" | |
export CCFLAGS="-arch i386 $CCFLAGS" | |
export CXXFLAGS="-arch i386 $CXXFLAGS" | |
export LDFLAGS="-arch i386 $LDFLAGS" | |
# x64 Architecture | |
export CFLAGS="-arch x86_64 $CFLAGS" | |
export CCFLAGS="-arch x86_64 $CCFLAGS" | |
export CXXFLAGS="-arch x86_64 $CXXFLAGS" | |
export LDFLAGS="-arch x86_64 $LDFLAGS" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment