summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qconfig.cpp.in
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-06-30 21:04:54 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-07-01 11:22:46 +0200
commit4fbb040f754b7db310018394dd7ea6f5c997d50e (patch)
tree3e4d3dfd305408b295c4a593dadb39c8f94ae148 /src/corelib/global/qconfig.cpp.in
parentfb55e1e71e3c98aca880c23d97f9e811e2b406a0 (diff)
CMake: Hard-code QT_CONFIGURE_CROSSBUILD to 0
The qmake we're building is always built for the target platform. Therefore, QT_CONFIGURE_CROSSBUILD can always be set to a falsy value. Change-Id: I0f03c4ce0c75d3b4e97be5141adf742276131dcb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/global/qconfig.cpp.in')
-rw-r--r--src/corelib/global/qconfig.cpp.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qconfig.cpp.in b/src/corelib/global/qconfig.cpp.in
index 6f61f4333c..5c6ecf2485 100644
--- a/src/corelib/global/qconfig.cpp.in
+++ b/src/corelib/global/qconfig.cpp.in
@@ -23,6 +23,7 @@ static const char qt_configure_strs[] =
#define QT_CONFIGURE_HOSTBINDIR_TO_EXTPREFIX_PATH "@QT_CONFIGURE_HOSTBINDIR_TO_EXTPREFIX_PATH@"
#define QT_CONFIGURE_HOSTBINDIR_TO_HOSTPREFIX_PATH "@QT_CONFIGURE_HOSTBINDIR_TO_HOSTPREFIX_PATH@"
#ifdef QT_BUILD_QMAKE
+# define QT_CONFIGURE_CROSSBUILD 0
# define QT_CONFIGURE_SYSROOTIFY_PREFIX false
#endif
#define QT_CONFIGURE_PREFIX_PATH qt_configure_prefix_path_str + 12