Ignore:
Timestamp:
Oct 13, 2010 11:57:11 PM (14 years ago)
Author:
bennylp
Message:

Misc (re #1134): added the missing ARCH environment variable in CPP command in configure-iphone script (thanks MrGecko? for the patch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/configure-iphone

    r3175 r3343  
    1818  echo "             to use. By default, the compiler is deduced from the" 
    1919  echo "             SDK." 
     20  echo "  ARCH       Optional flags to specify target architecture, e.g." 
     21  echo "                ARCH='-arch armv6'" 
    2022  echo "" 
    2123  exit 0 
     
    105107# Use gcc -E as preprocessor instead of cpp, since cpp will find the 
    106108# header files in standard /usr/include instead of in isysroot 
    107 export CPP="${CC} -E -isysroot ${SDKPATH}" 
     109export CPP="${CC} ${ARCH} -E -isysroot ${SDKPATH}" 
    108110 
    109111# Print settings 
Note: See TracChangeset for help on using the changeset viewer.