update build sdl to fix issue with divmodsi4 (use llvm-gcc-4.2 instead of clang, to keep the same compiler for all other projects.) + fix copy of libSDL.a into our build directory
This commit is contained in:
parent
0e17917cb2
commit
68925a41f9
2 changed files with 7 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
|||
#!/bin/bash
|
||||
. ./environmnent.sh
|
||||
. ./environment.sh
|
||||
pushd sdl/sdl1.3/Xcode-iPhoneOS/SDL
|
||||
xcodebuild -project SDLiPhoneOS.xcodeproj -alltargets
|
||||
xcodebuild -project SDLiPhoneOS.xcodeproj -target libSDL
|
||||
popd
|
||||
|
||||
#the binarie is under sdl/sdl1.3/Xcode-iPhoneOS/SDL/build/Release-Universal/
|
||||
cp sdl/sdl1.3/Xcode-iPhoneOS/SDL/build/Release-iPhoneOS/libSDL.a $BUILDROOT/lib
|
||||
cp -a sdl/sdl1.3/include $BUILDROOT/include/SDL
|
||||
|
|
|
@ -1594,6 +1594,7 @@
|
|||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_DEBUGGING_SYMBOLS = full;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = NO;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
||||
|
@ -1610,6 +1611,7 @@
|
|||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = NO;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
|
||||
|
@ -1626,6 +1628,7 @@
|
|||
DEPLOYMENT_LOCATION = NO;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_VERSION = com.apple.compilers.llvmgcc42;
|
||||
PRODUCT_NAME = SDL;
|
||||
SKIP_INSTALL = YES;
|
||||
};
|
||||
|
@ -1638,6 +1641,7 @@
|
|||
COPY_PHASE_STRIP = YES;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEPLOYMENT_LOCATION = NO;
|
||||
GCC_VERSION = com.apple.compilers.llvmgcc42;
|
||||
PRODUCT_NAME = SDL;
|
||||
SKIP_INSTALL = YES;
|
||||
ZERO_LINK = NO;
|
||||
|
|
Loading…
Add table
Reference in a new issue