Skip to content

Commit

Permalink
Merge pull request #730 from imeoer/revert-make-release
Browse files Browse the repository at this point in the history
Revert "makefile: fix a minor bug in Makefile"
  • Loading branch information
jiangliu committed Sep 19, 2022
2 parents a3b5484 + b02ee57 commit 64414f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ all: build
TEST_WORKDIR_PREFIX ?= "/tmp"
DOCKER ?= "true"

RUST_TARGET_MUSL = $(shell uname -m)-unknown-linux-musl
RUST_TARGET ?= $(shell uname -m)-unknown-linux-musl
CARGO ?= $(shell which cargo)
CARGO_BUILD_GEARS = -v ~/.ssh/id_rsa:/root/.ssh/id_rsa -v ~/.cargo/git:/root/.cargo/git -v ~/.cargo/registry:/root/.cargo/registry
Expand Down Expand Up @@ -57,7 +56,7 @@ endef
${CARGO} fmt -- --check

.musl_target:
$(eval CARGO_BUILD_FLAGS += --target ${RUST_TARGET_MUSL})
$(eval CARGO_BUILD_FLAGS += --target ${RUST_TARGET})

# Targets that are exposed to developers and users.
build: .format fusedev virtiofs
Expand Down

0 comments on commit 64414f5

Please sign in to comment.