From b7db11193ccea2a251af76a39d29d3c99f5ccacf Mon Sep 17 00:00:00 2001 From: Viktor Kleen Date: Mon, 29 Aug 2022 12:39:48 +0000 Subject: [PATCH] build.rs: Remove DEBUG environment variable to prevent spurious build failures --- build.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 37743ccb3..b87f5ffc5 100644 --- a/build.rs +++ b/build.rs @@ -27,7 +27,8 @@ fn build_afl(out_dir: &Path) { // build just the runtime to avoid troubles with Xcode clang on macOS .env("NO_BUILD", "1") .env("DESTDIR", out_dir) - .env("PREFIX", ""); + .env("PREFIX", "") + .env_remove("DEBUG"); let status = command.status().expect("could not run 'make'"); assert!(status.success()); }