aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/qbs/modules/cpp/gcc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/cpp/gcc.js b/share/qbs/modules/cpp/gcc.js
index 574fe769b..57666fe42 100644
--- a/share/qbs/modules/cpp/gcc.js
+++ b/share/qbs/modules/cpp/gcc.js
@@ -553,7 +553,7 @@ function configFlags(config, isDriver) {
var frameworkPaths = config.cpp.frameworkPaths;
if (frameworkPaths)
- args = args.concat(frameworkPaths.map(function(path) { return '-F' + path }));
+ args = args.uniqueConcat(frameworkPaths.map(function(path) { return '-F' + path }));
var allSystemFrameworkPaths = [];