aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/input.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-03 12:42:18 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-03 12:42:18 -0600
commitf81d4e1433b888664149e040c3b6af8cefff9c05 (patch)
tree8dc7a485e3e9e7f3fd9145047de9d9a81d700e7a /src/makefile/input.rs
parent89a87698ed39188fee792cc3488bffed2ff525cf (diff)
downloadmakers-f81d4e1433b888664149e040c3b6af8cefff9c05.tar.gz
makers-f81d4e1433b888664149e040c3b6af8cefff9c05.zip
i'm a fucking dumbass
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(()),
_ => {}
}