Changeset 6033


Ignore:
Timestamp:
Jun 21, 2019 4:30:42 AM (5 years ago)
Author:
ming
Message:

Fixed #2208: Change default arch for Android and iOS to 64-bit

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/configure-android

    r6019 r6033  
    2222  echo "                   maximum platform level detected." 
    2323  echo "  TARGET_ABI       Optionally specify a single target architecture," 
    24   echo "                   e.g. armeabi-v7a, mips, x86. By default, the target" 
    25   echo "                   architecture is armeabi. Only used when" 
    26   echo "                   --use-ndk-cflags is specified." 
     24  echo "                   e.g. armeabi-v7a, arm64-v8a, mips, x86. By default, " 
     25  echo "                   the target architecture is arm64-v8a." 
    2726  echo "  IGNORE_CFLAGS    Optionally specify compilation flags to be ignored." 
    2827  echo "                   Each grepped flag that satisfies the criteria will" 
     
    5049 
    5150if test "x$TARGET_ABI" = "x"; then 
    52   # armeabi was removed since NDK r17 
    53   if [ "${NDK_VER}" -ge "17" ]; then 
    54     TARGET_ABI="armeabi-v7a" 
    55   else 
    56     TARGET_ABI="armeabi" 
    57   fi 
     51  TARGET_ABI="arm64-v8a" 
    5852  echo "$F: TARGET_ABI not specified, using ${TARGET_ABI}" 
    5953fi 
  • pjproject/trunk/configure-iphone

    r5553 r6033  
    1919  echo "             SDK." 
    2020  echo "  ARCH       Optional flags to specify target architecture, e.g." 
    21   echo "             ARCH=\"-arch armv6\". Default is armv7." 
     21  echo "             ARCH=\"-arch armv7\". Default is arm64." 
    2222  echo "  MIN_IOS    Optional flags to specify minimum supported iOS" 
    2323  echo "             versions, e.g. MIN_IOS=\"-miphoneos-version-min=10.0\". " 
     
    114114 
    115115if test "${ARCH}" = ""; then 
    116   export ARCH="-arch armv7" 
     116  export ARCH="-arch arm64" 
    117117  echo "$F: ARCH is not specified, choosing ${ARCH}" 
    118118fi 
Note: See TracChangeset for help on using the changeset viewer.