aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/cpp/android-gcc.qbs
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-09-12 11:54:57 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-09-27 10:27:39 +0000
commit72eedbb0a4a4acbe5cafe574a185438299f07367 (patch)
treee5778c0056be0bd076f1ae23aa8877486651a604 /share/qbs/modules/cpp/android-gcc.qbs
parent21cc614bd8bbb4d43a50edd478b19b4ca52a6d04 (diff)
Use Module.priority to choose the right cpp module instance
Replace the negating conditions in our cpp instances with module priorities. This removes the need of knowing about all other more specialized instances in more general instances. Change-Id: I511ba11f2cb69ea1458b786a2db4309de8910ebf Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/modules/cpp/android-gcc.qbs')
-rw-r--r--share/qbs/modules/cpp/android-gcc.qbs1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/android-gcc.qbs b/share/qbs/modules/cpp/android-gcc.qbs
index a21f56f2a..cc82a5031 100644
--- a/share/qbs/modules/cpp/android-gcc.qbs
+++ b/share/qbs/modules/cpp/android-gcc.qbs
@@ -40,6 +40,7 @@ LinuxGCC {
condition: qbs.targetOS.contains("android") &&
qbs.toolchain && qbs.toolchain.contains("gcc")
+ priority: 2
rpaths: ['$ORIGIN']
property string toolchainDir: {