From 4bf98126d927c55fbfbfec3d76798cd5e14543cc Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Wed, 29 Jul 2015 02:31:12 +0000 Subject: 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 --- configure-iphone | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure-iphone') 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`" -- cgit v1.2.3