From 7fbadfdeabecbe01db7104697c76ebaf0fb218ae Mon Sep 17 00:00:00 2001 From: Daniele Nicolodi Date: Sat, 9 Dec 2023 11:09:56 +0100 Subject: ninja backend: Remove always true check --- mesonbuild/backend/ninjabackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3