This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit f99209215d3cd6145d19bbce8f3e9444d6986cb4
Author: Huang Qi <[email protected]>
AuthorDate: Fri Mar 31 10:25:13 2023 +0800

    tools: Provide a defualt RUSTELFFLAGS if not defined
    
    Signed-off-by: Huang Qi <[email protected]>
---
 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 .

Reply via email to