From f81d4e1433b888664149e040c3b6af8cefff9c05 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sat, 3 Apr 2021 12:42:18 -0600 Subject: i'm a fucking dumbass --- src/makefile/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(()), _ => {} } -- cgit v1.2.3