- Timestamp:
- Sep 6, 2013 2:10:48 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/configure-iphone
r4588 r4591 71 71 fi 72 72 73 # Test the toolchain directory 74 TCPATH="${DEVPATH}/../../../Toolchains/XcodeDefault.xctoolchain" 75 if test ! -d ${TCPATH}/usr/bin; then 76 TCPATH="${DEVPATH}" 77 fi 78 73 79 # Determine which gcc for this SDK. Binaries should have the 74 80 # full path as it's not normally in user's PATH … … 76 82 if test "${CC}" = ""; then 77 83 # Try to use clang if available 78 ccpath="${ DEVPATH}/../../../Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"84 ccpath="${TCPATH}/usr/bin/clang" 79 85 # Next, try to use llvm-gcc 80 86 gccpath="${DEVPATH}/usr/bin/llvm-gcc" … … 119 125 export CFLAGS="${CFLAGS} -DPJ_SDK_NAME=\"\\\"`basename $SDKPATH`\\\"\" ${ARCH} -isysroot ${SDKPATH}" 120 126 export LDFLAGS="${LDFLAGS} ${ARCH} -isysroot ${SDKPATH} -framework AudioToolbox -framework Foundation" 121 export AR="${ DEVPATH}/usr/bin/libtool -static -o"127 export AR="${TCPATH}/usr/bin/libtool -static -o" 122 128 export RANLIB="echo ranlib" 123 129 # Use gcc -E as preprocessor instead of cpp, since cpp will find the
Note: See TracChangeset
for help on using the changeset viewer.