This commit is contained in:
parent
88d47949e5
commit
70a4e63597
6
Makefile
6
Makefile
@ -18,10 +18,10 @@ build-src:
|
|||||||
|
|
||||||
.PHONY: build-bin
|
.PHONY: build-bin
|
||||||
build-bin:
|
build-bin:
|
||||||
RUSTFLAGS="-C link-arg=-s" rustup set profile minimal && \
|
rustup set profile minimal && \
|
||||||
cd $(SRC) && \
|
cd $(SRC) && \
|
||||||
RUSTFLAGS="-C link-arg=-s" rustup target add x86_64-unknown-linux-musl && \
|
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
|
BWRS_VERSION="$${BUILD_VERSION##v}" cargo build -j 8 --features $(DB) --release
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user