diff options
-rw-r--r-- | yapymake/makefile/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yapymake/makefile/__init__.py b/yapymake/makefile/__init__.py index 4617047..3407b3c 100644 --- a/yapymake/makefile/__init__.py +++ b/yapymake/makefile/__init__.py @@ -191,7 +191,7 @@ class Makefile: inviolate_sources = [MacroSource.CommandLine, MacroSource.MAKEFLAGS] if self.args.environment_overrides: inviolate_sources.append(MacroSource.Environment) - if source in inviolate_sources: + if any(x is source for x in inviolate_sources): continue self._macros[name] = (MacroSource.File, value) |