Browse Source

Arm64 support

dvh-chacham15-master
Matt Ronge 9 years ago
parent
commit
de15f193ba
2 changed files with 4 additions and 1 deletions
  1. +2
    -1
      build-mac/dependencies/prepare-cyrus-sasl.sh
  2. +2
    -0
      build-mac/libetpan.xcodeproj/project.pbxproj

+ 2
- 1
build-mac/dependencies/prepare-cyrus-sasl.sh View File

@ -121,7 +121,7 @@ for TARGET in $TARGETS; do
case $TARGET in
(iPhoneOS)
ARCH=arm
MARCHS="armv7 armv7s"
MARCHS="armv7 armv7s arm64"
EXTRA_FLAGS="-miphoneos-version-min=$SDK_IOS_MIN_VERSION"
;;
(iPhoneSimulator)
@ -139,6 +139,7 @@ for TARGET in $TARGETS; do
rm -rf $PREFIX
export CFLAGS="-arch ${MARCH} -isysroot ${SYSROOT} -Os ${EXTRA_FLAGS}"
echo $CFLAGS
if test -x ${TOOLCHAIN}/clang; then
export LD=${TOOLCHAIN}/clang


+ 2
- 0
build-mac/libetpan.xcodeproj/project.pbxproj View File

@ -2580,6 +2580,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_MODEL_TUNING = G5;
@ -2604,6 +2605,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_MODEL_TUNING = G5;


Loading…
Cancel
Save