Force 32-bit build on OS X.

Subversion-branch: /buildscripts
Subversion-revision: 2232
This commit is contained in:
Simon Howard 2011-01-02 02:36:46 +00:00
parent ae9db5b3a4
commit 1434492baa
1 changed files with 2 additions and 0 deletions

View File

@ -263,6 +263,8 @@ SDL_BUILD_OPTIONS=""
if [ `uname` = "Darwin" ]; then
SDL_BUILD_OPTIONS="--disable-video-x11 $SDL_BUILD_OPTIONS"
CC="gcc -m32"
export CC
else
LDFLAGS="-Wl,-rpath -Wl,$INSTALL_DIR/lib $LDFLAGS"
fi