diff --git a/build_freetype.sh b/build_freetype.sh index 392edab..b081900 100755 --- a/build_freetype.sh +++ b/build_freetype.sh @@ -19,7 +19,7 @@ fi # lib not found, compile it pushd . cd freetype-$FT_VERSION -./configure --prefix=/usr/local/iphone --host=arm-apple-darwin --enable-static=yes --enable-shared=no CC=$DEVROOT/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 AR=$DEVROOT/usr/bin/ar LDFLAGS="-isysroot $SDKROOT -miphoneos-version-min=$SDKVER" CFLAGS="-pipe -mdynamic-no-pic -std=c99 -Wno-trigraphs -fpascal-strings -O2 -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=$SDKVER -isysroot $SDKROOT" +./configure --prefix=/usr/local/iphone --host=arm-apple-darwin --enable-static=yes --enable-shared=no CC=$DEVROOT/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 AR=$DEVROOT/usr/bin/ar LDFLAGS="-isysroot $SDKROOT -miphoneos-version-min=$SDKVER" CFLAGS="-O2 -miphoneos-version-min=$SDKVER -isysroot $SDKROOT" make clean make cp objs/.libs/libfreetype.a libfreetype-arm7.a diff --git a/build_sdlttf.sh b/build_sdlttf.sh index 0651d57..202fa8b 100755 --- a/build_sdlttf.sh +++ b/build_sdlttf.sh @@ -22,7 +22,7 @@ rm libSDL_ttf.la ./configure --prefix=/usr/local/iphone --host=arm-apple-darwin \ --enable-static=yes --enable-shared=no \ --without-x \ - CC=$DEVROOT/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 AR=$DEVROOT/usr/bin/ar LDFLAGS="-isysroot $SDKROOT -miphoneos-version-min=$SDKVER" CFLAGS="-pipe -mdynamic-no-pic -std=c99 -Wno-trigraphs -fpascal-strings -O2 -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -miphoneos-version-min=$SDKVER -isysroot $SDKROOT" + CC=$DEVROOT/usr/bin/arm-apple-darwin10-llvm-gcc-4.2 AR=$DEVROOT/usr/bin/ar LDFLAGS="-isysroot $SDKROOT -miphoneos-version-min=$SDKVER" CFLAGS="-O2 -miphoneos-version-min=$SDKVER -isysroot $SDKROOT" make clean make libSDL_ttf.la cp .libs/libSDL_ttf.a libSDL_ttf-arm7.a