Skip to content

Commit

Permalink
rust: Removed unused build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Jan 24, 2024
1 parent 086889c commit 4de2bcd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mk/spksrc.tc-rust.mk
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ else
@(cd $(WORK_DIR)/rust && ./x setup compiler)
(cd $(WORK_DIR)/rust && \
CFLAGS_$(subst -,_,$(RUST_TARGET))="$(TC_EXTRA_CFLAGS)" \
CPPFLAGS_$(subst -,_,$(RUST_TARGET))="$(TC_EXTRA_CFLAGS)" \
CXXFLAGS_$(subst -,_,$(RUST_TARGET))="$(TC_EXTRA_CFLAGS)" \
CARGO_TARGET_$(shell echo $(RUST_TARGET) | tr - _ | tr a-z A-Z)_RUSTFLAGS="-Ctarget-cpu=e500" \
CARGO_TARGET_$(shell echo $(RUST_TARGET) | tr - _ | tr a-z A-Z)_RUSTFLAGS="$(TC_RUSTFLAGS)" \
RUST_BACKTRACE=full \
./x build --config $(TC_LOCAL_VARS_RUST))
rustup toolchain link $(TC_RUSTUP_TOOLCHAIN) $(WORK_DIR)/rust/build/host/stage$(RUSTUP_DEFAULT_TOOLCHAIN_STAGE)
Expand Down

0 comments on commit 4de2bcd

Please sign in to comment.