From c954bf8b91bb0e7bc7ce4eb8cecca1331766b051 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 13 Feb 2012 11:55:39 +0100 Subject: Fix host endian detection when compiling with sysroot Apply the sysroot argument for the endian test only for the test used for detecting the target endianness, don't use --sysroot for the host detection. Change-Id: I53edda6ebfd06e73cc64f2561b707bd2ba052ae7 Reviewed-by: Thiago Macieira Reviewed-by: Oswald Buddenhagen --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index d497c2f77c..bfbb5c7768 100755 --- a/configure +++ b/configure @@ -5979,7 +5979,7 @@ if [ "$CFG_ENDIAN" = "auto" ]; then elif [ "$PLATFORM_MAC" = "yes" ]; then true #leave as auto else - "$unixtests/endian.test" "$XQMAKESPEC" $OPT_VERBOSE "$relpath" "$outpath" + "$unixtests/endian.test" "$XQMAKESPEC" $OPT_VERBOSE "$relpath" "$outpath" "QMAKE_LFLAGS+=$SYSROOT_FLAG" F="$?" if [ "$F" -eq 0 ]; then CFG_ENDIAN="Q_LITTLE_ENDIAN" -- cgit v1.2.3