diff options
Diffstat (limited to 'qbs/modules/libclang/libclang.qbs')
-rw-r--r-- | qbs/modules/libclang/libclang.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qbs/modules/libclang/libclang.qbs b/qbs/modules/libclang/libclang.qbs index a6db78d551..fc50b4f7c1 100644 --- a/qbs/modules/libclang/libclang.qbs +++ b/qbs/modules/libclang/libclang.qbs @@ -40,7 +40,7 @@ Module { llvmToolingIncludes = toolingParams.includes; llvmToolingCxxFlags = toolingParams.cxxFlags; if (toolchain.contains("gcc")) - res.push("-Wno-unused-parameter"); + llvmToolingCxxFlags.push("-Wno-unused-parameter"); llvmFormattingLibs = ClangFunctions.formattingLibs(llvmConfig, QtcFunctions, targetOS); found = llvmConfig && File.exists(llvmIncludeDir.concat("/clang-c/Index.h")); } |