This is an automated email from the ASF dual-hosted git repository.
jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new bcf5700e8a tools/arm: Add missing -mcpu param for zig
bcf5700e8a is described below
commit bcf5700e8a7d012f0b9bbe2519ff97e8a03d8cc5
Author: Huang Qi <[email protected]>
AuthorDate: Mon Mar 6 15:57:02 2023 +0800
tools/arm: Add missing -mcpu param for zig
Signed-off-by: Huang Qi <[email protected]>
---
arch/arm/src/common/Toolchain.defs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/src/common/Toolchain.defs
b/arch/arm/src/common/Toolchain.defs
index 34eaf1c34b..96892ca6fb 100644
--- a/arch/arm/src/common/Toolchain.defs
+++ b/arch/arm/src/common/Toolchain.defs
@@ -285,7 +285,7 @@ else
ZEABI := gnueabi
endif
-ZIGFLAGS = -target $(ZARCH)-freestanding-$(ZEABI)
+ZIGFLAGS = -target $(ZARCH)-freestanding-$(ZEABI) $(ZARCHCPUFLAGS)
# Optimization of unused sections