summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Nicolodi <daniele@grinta.net>2023-12-09 11:09:56 +0100
committerDylan Baker <dylan@pnwbakers.com>2023-12-09 23:45:05 -0800
commit7fbadfdeabecbe01db7104697c76ebaf0fb218ae (patch)
tree78fdfcd64b341676dab9eaa91bc4e002845269cf
parentbe04234c852dc99d486f4199da26b272597bf0c7 (diff)
downloadmeson-7fbadfdeabecbe01db7104697c76ebaf0fb218ae.tar.gz
ninja backend: Remove always true check
-rw-r--r--mesonbuild/backend/ninjabackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index cdb747d73..58d91103e 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -2926,7 +2926,7 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485'''))
# Include PCH header as first thing as it must be the first one or it will be
# ignored by gcc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100462
- use_pch = self.target_uses_pch(target) and is_generated != 'pch'
+ use_pch = self.target_uses_pch(target)
if use_pch and 'mw' not in compiler.id:
commands += self.get_pch_include_args(compiler, target)