From 0e123c1896b2601af4d2c097258a30706ca35f09 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Tue, 2 Aug 2016 10:44:26 -0700 Subject: 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 Reviewed-by: Christian Kandeler --- share/qbs/modules/cpp/android-gcc.qbs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'share/qbs/modules/cpp/android-gcc.qbs') 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 = []; -- cgit v1.2.1