diff options
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | tools/configure/configureapp.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -6524,6 +6524,7 @@ cat >>"$QTCONFIG.tmp" <<EOF CONFIG += $QTCONFIG_CONFIG host_build { QT_ARCH = $CFG_HOST_ARCH + QT_TARGET_ARCH = $CFG_ARCH } else { QT_ARCH = $CFG_ARCH QMAKE_DEFAULT_LIBDIRS = $DEFAULT_LIBDIRS diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index c836e0e851..52348a9c41 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -3120,6 +3120,7 @@ void Configure::generateQConfigPri() configStream << endl; configStream << "host_build {" << endl; configStream << " QT_ARCH = " << dictionary["QT_HOST_ARCH"] << endl; + configStream << " QT_TARGET_ARCH = " << dictionary["QT_ARCH"] << endl; configStream << "} else {" << endl; configStream << " QT_ARCH = " << dictionary["QT_ARCH"] << endl; if (dictionary.contains("XQMAKESPEC") && !dictionary["XQMAKESPEC"].startsWith("wince")) { |