This commit is contained in:
parent
fb43bc9e2f
commit
fd2e9e299c
4
Makefile
4
Makefile
@ -18,10 +18,10 @@ build-src:
|
|||||||
|
|
||||||
.PHONY: build-bin
|
.PHONY: build-bin
|
||||||
build-bin:
|
build-bin:
|
||||||
rustup set profile minimal && \
|
RUSTFLAGS="-C link-arg=-s" rustup set profile minimal && \
|
||||||
cd $(SRC) && \
|
cd $(SRC) && \
|
||||||
RUSTFLAGS="-C link-arg=-s" rustup target add x86_64-unknown-linux-musl && \
|
RUSTFLAGS="-C link-arg=-s" rustup target add x86_64-unknown-linux-musl && \
|
||||||
BWRS_VERSION="$${BUILD_VERSION##v}" cargo build -j 8 --features $(DB) --release
|
RUSTFLAGS="-C link-arg=-s" 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