aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/include.sh
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-09-16 23:47:21 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2015-09-16 23:47:21 -0700
commit20d9b983d7a65d597b60d1df415abe728428a31d (patch)
treeb03194d40ea1e8bd30119693c713342bc946d541 /scripts/include.sh
parentf00b6deae2c3688383d0a9e8552532f2a6651607 (diff)
Support of bitcode in libetpan
Diffstat (limited to 'scripts/include.sh')
-rwxr-xr-xscripts/include.sh/build-dep.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/include.sh/build-dep.sh b/scripts/include.sh/build-dep.sh
index 714c4a6c..c3dcd4aa 100755
--- a/scripts/include.sh/build-dep.sh
+++ b/scripts/include.sh/build-dep.sh
@@ -67,14 +67,14 @@ build_git_ios()
cd "$srcdir/$name/build-mac"
sdk="iphoneos$sdkversion"
echo building $sdk
- xctool -project "$xcode_project" -sdk $sdk -scheme "$xcode_target" -configuration Release SYMROOT="$tmpdir/bin" OBJROOT="$tmpdir/obj" ARCHS="$devicearchs" IPHONEOS_DEPLOYMENT_TARGET="$sdkversion" OTHER_CFLAGS="-fembed-bitcode"
+ xctool -project "$xcode_project" -sdk $sdk -scheme "$xcode_target" -configuration Release SYMROOT="$tmpdir/bin" OBJROOT="$tmpdir/obj" ARCHS="$devicearchs" IPHONEOS_DEPLOYMENT_TARGET="$sdkversion" OTHER_CFLAGS='$(inherited) -fembed-bitcode'
if test x$? != x0 ; then
echo failed
exit 1
fi
sdk="iphonesimulator$sdkversion"
echo building $sdk
- xctool -project "$xcode_project" -sdk $sdk -scheme "$xcode_target" -configuration Release SYMROOT="$tmpdir/bin" OBJROOT="$tmpdir/obj" ARCHS="$simarchs" IPHONEOS_DEPLOYMENT_TARGET="$sdkversion" OTHER_CFLAGS="-fembed-bitcode"
+ xctool -project "$xcode_project" -sdk $sdk -scheme "$xcode_target" -configuration Release SYMROOT="$tmpdir/bin" OBJROOT="$tmpdir/obj" ARCHS="$simarchs" IPHONEOS_DEPLOYMENT_TARGET="$sdkversion" OTHER_CFLAGS='$(inherited) -fembed-bitcode'
if test x$? != x0 ; then
echo failed
exit 1
@@ -141,6 +141,7 @@ build_git_ios()
if test x$build_for_external != x1 ; then
defaults write "$versions_path" "$name" "$version"
+ plutil -convert xml1 "$versions_path"
fi
}
@@ -273,6 +274,7 @@ build_git_osx()
if test x$build_for_external != x1 ; then
defaults write "$versions_path" "$name" "$version"
+ plutil -convert xml1 "$versions_path"
fi
}
@@ -325,5 +327,6 @@ get_prebuilt_dep()
if test -d "$scriptpath/../Externals/$name" ; then
defaults write "$installed_versions_path" "$name" "$version"
+ plutil -convert xml1 "$installed_versions_path"
fi
}