summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/qbs/modules/cpp/gcc.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qbs/modules/cpp/gcc.js b/share/qbs/modules/cpp/gcc.js
index fed290b15..dda94ebb7 100644
--- a/share/qbs/modules/cpp/gcc.js
+++ b/share/qbs/modules/cpp/gcc.js
@@ -945,7 +945,7 @@ function dumpMacros(compilerFilePath, args, nullDevice) {
var p = new Process();
try {
p.setEnv("LC_ALL", "C");
- p.exec(compilerFilePath, (args || []).concat(["-dM", "-E", "-x", "c", nullDevice]));
+ p.exec(compilerFilePath, (args || []).concat(["-dM", "-E", "-x", "c", nullDevice]), true);
var map = {};
p.readStdOut().trim().split("\n").map(function (line) {
var parts = line.split(" ", 3);
@@ -969,7 +969,7 @@ function dumpDefaultPaths(compilerFilePath, args, nullDevice, pathListSeparator,
else
args.push("--sysroot=" + sysroot);
}
- p.exec(compilerFilePath, args.concat(["-v", "-E", "-x", "c++", nullDevice]));
+ p.exec(compilerFilePath, args.concat(["-v", "-E", "-x", "c++", nullDevice]), true);
var suffix = " (framework directory)";
var includePaths = [];
var libraryPaths = [];