Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OPT=' -arch i386 -m32 -O2 -msse -msse2 -force_cpusubtype_ALL '
- SDK=' -w -isysroot /opt/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 '
- export MACOSX_DEPLOYMENT_TARGET=10.5
- export PATH=/opt/i386/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
- export CC="/usr/bin/clang -arch i386"
- export CXX="/usr/bin/clang++ -arch i386"
- export CPPFLAGS='-I/opt/i386/include '$SDK
- export CFLAGS='-I/opt/i386/include '$SDK' '$OPT
- export CXXFLAGS='-I/opt/i386/include '$SDK' '$OPT
- export LDFLAGS='-L/opt/i386/lib '$SDK' '$OPT
- export PKG_CONFIG_PATH="/opt/i386/lib/pkgconfig"
- ./autogen.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement