diff options
author | Melody Horn <melody@boringcactus.com> | 2021-04-03 12:42:18 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-04-03 12:42:18 -0600 |
commit | f81d4e1433b888664149e040c3b6af8cefff9c05 (patch) | |
tree | 8dc7a485e3e9e7f3fd9145047de9d9a81d700e7a | |
parent | 89a87698ed39188fee792cc3488bffed2ff525cf (diff) | |
download | makers-f81d4e1433b888664149e040c3b6af8cefff9c05.tar.gz makers-f81d4e1433b888664149e040c3b6af8cefff9c05.zip |
i'm a fucking dumbass
-rw-r--r-- | src/makefile/input.rs | 2 |
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(()), _ => {} } |