aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile/input.rs')
-rw-r--r--src/makefile/input.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/input.rs b/src/makefile/input.rs
index f269fa4..68213f8 100644
--- a/src/makefile/input.rs
+++ b/src/makefile/input.rs
@@ -479,7 +479,7 @@ impl<'a, R: BufRead> MakefileReader<'a, R> {
Some((MacroSource::CommandLineOrMakeflags, _)) => return Ok(()),
// We let environment variables override macros from the file only if the command-line argument to do that was given
Some((MacroSource::Environment, _)) if self.args.environment_overrides => return Ok(()),
- _ if skip_if_defined => return Ok(()),
+ Some(_) if skip_if_defined => return Ok(()),
_ => {}
}