diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2020-05-25 18:26:40 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-06-02 13:16:21 +0000 |
commit | 9c518238b6524716b4cf8b0f5d4fc6f53c6a784a (patch) | |
tree | 1accc084bb52b1852b8cc9d267f0477f00daf8ec | |
parent | 3aff94dd31b1a2e9f74c98e715d9f2ac11ed1df5 (diff) |
GCC: avoid duplicating framework paths in the resulting command
Fixes: QBS-1552
Change-Id: Ifc9f6bbeaa3ba145e3340b6c440f61120d693c91
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | share/qbs/modules/cpp/gcc.js | 2 |
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 = []; |