Skip to content

Commit cf1e7c2

Browse files
authored
Merge pull request #336 from microsoft/danmihai1/debug-build-genpolicy
genpolicy: add support for BUILD_TYPE=debug
2 parents 9db7002 + 5737c1d commit cf1e7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/genpolicy/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $(GENERATED_FILES): %: %.in
2828
default: build
2929

3030
build: $(GENERATED_FILES)
31-
@RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo build --target $(TRIPLE) --$(BUILD_TYPE)
31+
@RUSTFLAGS="$(EXTRA_RUSTFLAGS) --deny warnings" cargo build --target $(TRIPLE) $(if $(findstring release,$(BUILD_TYPE)),--release)
3232

3333
static-checks-build:
3434
@echo "INFO: static-checks-build do nothing.."

0 commit comments

Comments
 (0)