Advertisement
dominus

Untitled

Aug 21st, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. OPT=' -arch i386 -m32 -O2 -msse -msse2 -force_cpusubtype_ALL '
  2. SDK=' -w -isysroot /opt/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 '
  3. export MACOSX_DEPLOYMENT_TARGET=10.5
  4. export PATH=/opt/i386/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
  5. export CC="/usr/bin/clang -arch i386"
  6. export CXX="/usr/bin/clang++ -arch i386"
  7. export CPPFLAGS='-I/opt/i386/include '$SDK
  8. export CFLAGS='-I/opt/i386/include '$SDK' '$OPT
  9. export CXXFLAGS='-I/opt/i386/include '$SDK' '$OPT
  10. export LDFLAGS='-L/opt/i386/lib '$SDK' '$OPT
  11. export PKG_CONFIG_PATH="/opt/i386/lib/pkgconfig"
  12. ./autogen.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement