From 58fc50700dc0c1cac608979c68fc7e5aaf8874bb Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 21 Oct 2018 07:24:44 +0200 Subject: Fix dep file not used because of wrong path --- backend/ninja/Ninja.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 0fe222b..624d1dc 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -1025,7 +1025,7 @@ namespace backend compileCCommand.push_back(ninja::NinjaArg::createRaw("-fstack-protector")); compileCCommand.insert(compileCCommand.end(), { - ninja::NinjaArg::createRaw("-MMD"), + ninja::NinjaArg::createRaw("-MMD -MF $out.d"), ninja::NinjaArg::createRaw("$globalIncDir") }); -- cgit v1.2.3