From 7df980031ba77fc8089700e163db5805faf1d615 Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Fri, 23 Mar 2012 13:30:40 +0100 Subject: configure: Fix x86_64 arch detection (part 2) This is a follow-up to comit 70a88331519e6e6439ff23a9cc91b2e3f607acb6. The regular expression for CFG_HOST_ARCH was not updated in the above commit. Change-Id: I2baf0b42d851f1df096c2f6ad54aeec57940e661 Reviewed-by: Oswald Buddenhagen Reviewed-by: Girish Ramakrishnan --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index b24787a613..54c80b0ba0 100755 --- a/configure +++ b/configure @@ -3938,7 +3938,7 @@ CFG_ARCH=`"$outpath/bin/qmake" -spec "$XQMAKESPEC" -o /dev/null "$relpath/config [ -z "$CFG_ARCH" ] && CFG_ARCH="unknown" if [ "$QMAKESPEC" != "$XQMAKESPEC" ]; then # Do the same test again, using the host compiler - CFG_HOST_ARCH=`"$outpath/bin/qmake" -spec "$QMAKESPEC" -o /dev/null "$relpath/config.tests/arch/arch.pro" 2>&1 | sed -n -e 's,^Project MESSAGE:.*Architecture: \([a-zA-Z0-9]*\).*,\1,p'` + CFG_HOST_ARCH=`"$outpath/bin/qmake" -spec "$QMAKESPEC" -o /dev/null "$relpath/config.tests/arch/arch.pro" 2>&1 | sed -n -e 's,^Project MESSAGE:.*Architecture: \([a-zA-Z0-9_]*\).*,\1,p'` [ -z "$CFG_HOST_ARCH" ] && CFG_HOST_ARCH="unknown" else # not cross compiling, host == target -- cgit v1.2.3