From 3c47b52bd37488d41a3ad068de7976c838b7d63c Mon Sep 17 00:00:00 2001 From: Donald Carr Date: Wed, 29 Feb 2012 23:55:13 +0000 Subject: Add cross_compile to qconfig.pri for global advertising .qmake.cache is not necessarily accessible to other modules which depend on information about whether we are cross compiling or not. We might as well advertise this fact globally via the CONFIG variable in qconfig.pri. Change-Id: I6dee3e6604e5ca1c775c5f9f834fe29b4e27adb8 Reviewed-by: Donald Carr Reviewed-by: Girish Ramakrishnan Reviewed-by: Oswald Buddenhagen Reviewed-by: Johannes Zellner --- configure | 1 + 1 file changed, 1 insertion(+) (limited to 'configure') diff --git a/configure b/configure index 72b1fd64b7..2b8b4031ef 100755 --- a/configure +++ b/configure @@ -2528,6 +2528,7 @@ fi if [ "$PLATFORM" != "$XPLATFORM" ]; then QT_CROSS_COMPILE=yes QMAKE_CONFIG="$QMAKE_CONFIG cross_compile" + QTCONFIG_CONFIG="$QTCONFIG_CONFIG cross_compile" fi if [ "$BUILD_ON_MAC" = "yes" ]; then -- cgit v1.2.3