summaryrefslogtreecommitdiff
path: root/configure-iphone
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2015-07-29 02:31:12 +0000
committerNanang Izzuddin <nanang@teluu.com>2015-07-29 02:31:12 +0000
commit4bf98126d927c55fbfbfec3d76798cd5e14543cc (patch)
tree477ed4eb9e62a8083e6ca3de1971f5606414e6f8 /configure-iphone
parent0916db620571f0e2e4fcc8d89cd3417f5f52f629 (diff)
Re #1870: Fixed 64 bit arch issues on iOS: pool alignment, updated config.sub, updated lib/app file naming, lib dependencies on XCode.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5137 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'configure-iphone')
-rwxr-xr-xconfigure-iphone4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure-iphone b/configure-iphone
index 01cccbfc..fa832970 100755
--- a/configure-iphone
+++ b/configure-iphone
@@ -113,6 +113,7 @@ if test "${ARCH}" = ""; then
export ARCH="-arch armv7"
echo "$F: ARCH is not specified, choosing ${ARCH}"
fi
+export ARCH_VAL=`echo ${ARCH} | sed 's/\-arch //' | sed -e 's/^[ \t]*//;s/[ \t]*$//' `
# Set CXX if not set
if test "${CXX}" = ""; then
@@ -141,10 +142,11 @@ if test "1" = "1"; then
echo " LDFLAGS = ${LDFLAGS}"
echo " AR = ${AR}"
echo " RANLIB = ${RANLIB}"
+ echo " ARCH = ${ARCH_VAL}"
fi
# And finally invoke the configure script itself
-./aconfigure --host=arm-apple-darwin9 --disable-sdl $*
+./aconfigure --host=${ARCH_VAL}-apple-darwin --disable-sdl $*
if test "$?" = "0"; then
echo "Done configuring for `basename $SDKPATH`"