diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-29 00:02:22 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | cc0f3bf97a5138e8c4f2e121f304eda7beac56a9 (patch) | |
tree | 4469465cfb323bf133b30be69089c5f2b38cdbfd /backend/ninja | |
parent | 518407c80204dcaae91bb4afebea2355a589e595 (diff) |
Add cygwin support
Diffstat (limited to 'backend/ninja')
-rw-r--r-- | backend/ninja/Ninja.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 4162c58..9a8dc25 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -1023,7 +1023,7 @@ namespace backend ninja::NinjaArg::createRaw("-fdiagnostics-color=always"), ninja::NinjaArg::createRaw("-pipe"), ninja::NinjaArg::createRaw("-D_FILE_OFFSET_BITS=64"), - ninja::NinjaArg::createRaw("-Winvalid-pch"), + ninja::NinjaArg::createRaw("-Winvalid-pch -D_GNU_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE"), }); if(config.getCompiler() != Compiler::MINGW_W64) |