summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mkspecs/features/device_config.prf5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/features/device_config.prf b/mkspecs/features/device_config.prf
index 90bf9150e9..020b3ad7bb 100644
--- a/mkspecs/features/device_config.prf
+++ b/mkspecs/features/device_config.prf
@@ -22,6 +22,11 @@ isEmpty(DEVICE_PRI) {
exists($$DEVICE_PRI):include($$DEVICE_PRI)
+isEmpty(CROSS_COMPILE) {
+ #this variable can be persisted via qmake -set CROSS_COMPILE /foo
+ CROSS_COMPILE = $$[CROSS_COMPILE]
+}
+
unset(DEVICE_PRI)
unset(DIR)