Browse files

Fixed to use the default gcc

  • Loading branch information...
1 parent 25d9d37 commit ff2fcfafdcbc0812b89273e504751c1153df132c @sbooth committed Jul 13, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 iphone-simulator-4.3-configure
View
10 iphone-simulator-4.3-configure
@@ -24,18 +24,18 @@ if [ ! \( -x "./configure" \) ] ; then
fi
# Binaries
-export CPP="$DEVROOT/usr/bin/i686-apple-darwin10-llvm-gcc-4.2 -E"
-export CC="$DEVROOT/usr/bin/i686-apple-darwin10-llvm-gcc-4.2"
-export CXX="$DEVROOT/usr/bin/i686-apple-darwin10-llvm-g++-4.2"
+export CPP="$DEVROOT/usr/bin/gcc -E"
+export CC="$DEVROOT/usr/bin/gcc"
+export CXX="$DEVROOT/usr/bin/g++"
export LD="$DEVROOT/usr/bin/ld"
export PKG_CONFIG_PATH="$SDKROOT/usr/lib/pkgconfig":"$PREFIX/lib/pkgconfig"
# Flags
-export CPPFLAGS="-isysroot $SDKROOT -I$PREFIX/include"
+export CPPFLAGS="-arch i386 -isysroot $SDKROOT -I$PREFIX/include"
export CFLAGS="$CPPFLAGS -std=c99 -pipe -no-cpp-precomp"
export CXXFLAGS="$CPPFLAGS -pipe -no-cpp-precomp"
-export LDFLAGS="-isysroot $SDKROOT -L$PREFIX/lib"
+export LDFLAGS="-arch i386 -isysroot $SDKROOT -L$PREFIX/lib"
# The simulator's architecture
export ARCH="arm-apple-darwin10"

0 comments on commit ff2fcfa

Please sign in to comment.