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.
2 parents 9db7002 + 5737c1d commit cf1e7c2Copy full SHA for cf1e7c2
src/tools/genpolicy/Makefile
@@ -28,7 +28,7 @@ $(GENERATED_FILES): %: %.in
28
default: build
29
30
build: $(GENERATED_FILES)
31
- @RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo build --target $(TRIPLE) --$(BUILD_TYPE)
+ @RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo build --target $(TRIPLE) $(if $(findstring release,$(BUILD_TYPE)),--release)
32
33
static-checks-build:
34
@echo "INFO: static-checks-build do nothing.."
0 commit comments