This commit is contained in:
parent
88d47949e5
commit
70a4e63597
6
Makefile
6
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:
|
||||
|
Loading…
Reference in New Issue
Block a user