We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887845a commit e2d4a2cCopy full SHA for e2d4a2c
build.rs
@@ -35,6 +35,7 @@ fn main() {
35
}
36
37
let result = Command::new(make)
38
+ .env("MAKEFLAGS", env::var("CARGO_MAKEFLAGS").unwrap_or_default())
39
.args(&["-R", "-f", "makefile.cargo"])
40
.stdout(Stdio::inherit())
41
.stderr(Stdio::inherit())
makefile.cargo
@@ -126,7 +126,7 @@ SRC_DIR = $(shell pwd)
126
.PHONY : all maybe-configure
127
128
all: maybe-configure
129
- cd $(OUT_DIR) && $(MAKE) -f Makefile -j$(NUM_JOBS)
+ cd $(OUT_DIR) && $(MAKE) -f Makefile
130
131
# Only touch and run configure if we need to, to avoid unnecessary rebuilds.
132
# The second two time checks handle the case of configure.in and configure having
0 commit comments