tools: Provide a defualt RUSTELFFLAGS if not defined
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
e287e4bb9e
commit
f99209215d
@ -93,9 +93,10 @@ ifneq ($(BUILD_MODULE),y)
|
||||
OBJS += $(MAINCOBJ) $(MAINCXXOBJ) $(MAINRUSTOBJ) $(MAINZIGOBJ)
|
||||
endif
|
||||
|
||||
# Compile flags
|
||||
# Compile flags, notice the default flags only suitable for flat build
|
||||
|
||||
ZIGELFFLAGS ?= $(ZIGFLAGS)
|
||||
RUSTELFFLAGS ?= $(RUSTFLAGS)
|
||||
|
||||
DEPPATH += --dep-path .
|
||||
DEPPATH += --obj-path .
|
||||
|
Loading…
x
Reference in New Issue
Block a user