Changeset 3171


Ignore:
Timestamp:
May 13, 2010 4:57:13 AM (10 years ago)
Author:
bennylp
Message:

Re #1050: removed -arch armv6 option from the default CFLAGS generated by configure-iphone, as this is rejected by gcc-4.2.1 that comes with iPhone-3.2 SDK.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/iphone/configure-iphone

    r3170 r3171  
    4141  rm -f tmpsdkname 
    4242  SDKPATH=${DEVPATH}/SDKs/${IPHONESDK} 
     43  echo "$F: IPHONESDK is not specified, choosing ${IPHONESDK}" 
    4344elif test -d ${IPHONESDK}; then 
    4445  # .. else if IPHONESDK is set and it points to a valid path, just use it 
     
    5455  exit 1 
    5556fi 
    56  
    57 echo "$F: IPHONESDK is not specified, choosing ${IPHONESDK}" 
    5857 
    5958# Default CFLAGS if it's not specified 
     
    9998 
    10099# Other settings to feed to configure script.  
    101 export CFLAGS="${CFLAGS} -arch armv6 -isysroot ${SDKPATH}" 
    102 export LDFLAGS="${LDFLAGS} -arch armv6 -isysroot ${SDKPATH} -framework AudioToolbox -framework Foundation" 
     100#ARCH="-arch armv6" 
     101export CFLAGS="${CFLAGS} ${ARCH} -isysroot ${SDKPATH}" 
     102export LDFLAGS="${LDFLAGS} ${ARCH} -isysroot ${SDKPATH} -framework AudioToolbox -framework Foundation" 
    103103export AR="${DEVPATH}/usr/bin/libtool -static -o" 
    104104export RANLIB="echo ranlib" 
     
    109109# Print settings 
    110110if test "1" = "1"; then 
    111   echo "$F: calling ./aconfigure with these settings:" 
     111  echo "$F: calling ./aconfigure with env vars:" 
    112112  echo " CC = ${CC}" 
    113113  echo " CXX = ${CXX}" 
    114114  echo " SDKPATH = ${SDKPATH}" 
    115115  echo " CFLAGS = ${CFLAGS}" 
     116  echo " LDFLAGS = ${LDFLAGS}" 
    116117  echo " AR = ${AR}" 
     118  echo " RANLIB = ${RANLIB}" 
    117119fi 
    118120 
Note: See TracChangeset for help on using the changeset viewer.