From 4f29c565d6cf713aa25296e3d84e6788734692de Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 14 Apr 2021 11:59:29 -0600 Subject: add command-line arguments to MAKEFLAGS so they get inherited by recursive calls --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index e0deecc..f5d28b1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -60,7 +60,7 @@ fn main() -> Result<()> { args.makefile = vec![default_makefile.into()]; } // Read in the makefile(s) specified. - // TODO dump command-line args into MAKEFLAGS + env::set_var("MAKEFLAGS", args.makeflags()); // TODO dump command-line macros into environment // TODO add SHELL macro let mut makefile = Makefile::new(&args); -- cgit v1.2.3