aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-04-23 06:41:07 +0200
committerdec05eba <dec05eba@protonmail.com>2018-04-23 06:41:10 +0200
commitc1c566c2f09a573318dd29cc67483154ca8c1146 (patch)
tree8efcb8cc9011daf0dba9685702fb9d1f1b931f8c /backend
parentd9f0e34a8dbbdbfc93162f0297ff9330b86d3c01 (diff)
Do not include sibs lib dir in global include
Diffstat (limited to 'backend')
-rw-r--r--backend/ninja/Ninja.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index d311110..6b013c4 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -385,16 +385,7 @@ namespace backend
string result;
result.reserve(2048);
- Result<FileString> globalIncDirResult = getHomeDir();
- if (!globalIncDirResult)
- return Result<bool>::Err(globalIncDirResult);
-
- FileString globalIncDir = globalIncDirResult.unwrap();
- globalIncDir += TINYDIR_STRING("/.sibs/lib");
- string globalIncDirUtf8 = toUtf8(globalIncDir);
-
result += "globalIncDir = ";
- result += getIncludeOptionFlag(config.getCompiler(), globalIncDirUtf8);
for(const auto &includeDir : config.getIncludeDirs())
{