diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-08-02 10:44:26 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-08-15 17:00:52 +0000 |
commit | 0e123c1896b2601af4d2c097258a30706ca35f09 (patch) | |
tree | a952b39ebe03b3f95122e3abeeca27dd1c367c3b /share/qbs/modules/cpp/android-gcc.qbs | |
parent | 62cb950144d5eccdbc210ecda2f2a9fc4f5f72a6 (diff) | |
download | qbs-0e123c1896b2601af4d2c097258a30706ca35f09.tar.gz |
Introduce cpp.driverFlags
This property allows specifying a set of flags to pass to the compiler driver.
Effectively this is similar to specifying flags in both *compilerFlags and
linkerFlags, except driverFlags will never be passed to the system linker.
[ChangeLog] Introduced cpp.driverFlags, which allows specifying flags to be
passed to the compiler driver (in any mode), but never the system linker.
Change-Id: I2171246f3b20cbaca74114cf4fa0b6d38c23c621
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
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.qbs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/android-gcc.qbs b/share/qbs/modules/cpp/android-gcc.qbs index ad8437a21..34ef322b6 100644 --- a/share/qbs/modules/cpp/android-gcc.qbs +++ b/share/qbs/modules/cpp/android-gcc.qbs @@ -113,6 +113,8 @@ LinuxGCC { linkerFlags: NdkUtils.commonLinkerFlags(Android.ndk.abi) + platformDriverFlags: ["-no-canonical-prefixes"] + libraryPaths: { var prefix = FileInfo.joinPaths(sysroot, "usr"); var paths = []; |