diff --git a/Makefile b/Makefile index 0aa95d3..982383a 100644 --- a/Makefile +++ b/Makefile @@ -18,10 +18,10 @@ build-src: .PHONY: build-bin build-bin: - RUSTFLAGS="-C link-arg=-s" rustup set profile minimal && \ + rustup set profile minimal && \ cd $(SRC) && \ - RUSTFLAGS="-C link-arg=-s" rustup target add x86_64-unknown-linux-musl && \ - RUSTFLAGS="-C link-arg=-s" BWRS_VERSION="$${BUILD_VERSION##v}" cargo build -j 8 --features $(DB) --release + rustup target add x86_64-unknown-linux-musl && \ + BWRS_VERSION="$${BUILD_VERSION##v}" cargo build -j 8 --features $(DB) --release .PHONY: clean clean: