Allow override of cargoflags

parent 2b3ae4d8
Pipeline #1729 passed with stages
in 18 minutes and 29 seconds
TARGET?=
CARGO?=cargo
CARGOFLAGS?=
BUILD=target
ifneq ($(TARGET),)
BUILD="target/$(TARGET)"
CARGOFLAGS+="--target=$(TARGET)"
endif
CARGO?=cargo
ifeq ($(TARGET),aarch64-unknown-linux-gnu)
CC?=aarch64-linux-gnu-gcc
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment