summaryrefslogtreecommitdiff
path: root/share/qbs/modules/cpp/DarwinGCC.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-06-09 13:50:15 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2017-06-09 13:51:34 +0200
commit7343f24c774af89e7ddf9cf24c3932c703b5937c (patch)
tree5d29be927aa90fbb25d95007a475a6110d5e855a /share/qbs/modules/cpp/DarwinGCC.qbs
parent525165a38302cf43a908a93f57a3a88cd6abc0e0 (diff)
parent7ccc08f33153cd3093081567ac653e371759d69a (diff)
downloadqbs-7343f24c774af89e7ddf9cf24c3932c703b5937c.tar.gz
Merge 1.8 into master
Change-Id: I2fcb2113a24c8807467aa03aa3e7590d53761706
Diffstat (limited to 'share/qbs/modules/cpp/DarwinGCC.qbs')
-rw-r--r--share/qbs/modules/cpp/DarwinGCC.qbs1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/DarwinGCC.qbs b/share/qbs/modules/cpp/DarwinGCC.qbs
index 9398c0df9..b985e6862 100644
--- a/share/qbs/modules/cpp/DarwinGCC.qbs
+++ b/share/qbs/modules/cpp/DarwinGCC.qbs
@@ -70,6 +70,7 @@ UnixGCC {
toolchainInstallPath: xcode.present
? FileInfo.joinPaths(xcode.toolchainPath, "usr", "bin") : base
sysroot: xcode.present ? xcode.sdkPath : base
+ sysrootFlags: sysroot ? ["-isysroot", sysroot] : []
setupBuildEnvironment: {
for (var key in buildEnv) {