From f99209215d3cd6145d19bbce8f3e9444d6986cb4 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Fri, 31 Mar 2023 10:25:13 +0800 Subject: [PATCH] tools: Provide a defualt RUSTELFFLAGS if not defined Signed-off-by: Huang Qi --- Application.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application.mk b/Application.mk index da7dada5c..611355aaa 100644 --- a/Application.mk +++ b/Application.mk @@ -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 .