let linker strip release binaries

pull/1/head
chris west 4 years ago
parent 3f6c5c43de
commit 0241a698c8

@ -0,0 +1,2 @@
[build]
rustflags = ["-C", "link-arg=-s"]

@ -27,10 +27,9 @@ uninstall: $(RELEASE)
clean:
-rm -rf target
# Build and strip the release version
# Build the release version
$(RELEASE): $(SOURCES)
cargo build --release
strip $@
# Build the debug version
$(DEBUG): $(SOURCES)

Loading…
Cancel
Save