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.git
commit 737edcb885a86cd4e6b9cec3c4e0665f05fcc27d Author: wangjianyu3 <[email protected]> AuthorDate: Thu Oct 1 18:36:15 2026 +0800 arch/x86_64: pass -P to CPP CPP is also used to preprocess init.rc into the /etc ROMFS. Without -P it emits GNU linemarkers, which nxinit's parser rejects. Assisted-by: OpenCode:claude-sonnet-5 Signed-off-by: wangjianyu3 <[email protected]> --- arch/x86_64/src/common/Toolchain.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86_64/src/common/Toolchain.defs b/arch/x86_64/src/common/Toolchain.defs index d82500482ee..f61ddb99dc4 100644 --- a/arch/x86_64/src/common/Toolchain.defs +++ b/arch/x86_64/src/common/Toolchain.defs @@ -180,7 +180,7 @@ endif CC = $(CROSSDEV)gcc CXX = $(CROSSDEV)g++ -CPP = $(CROSSDEV)gcc -E -x c +CPP = $(CROSSDEV)gcc -E -P -x c LD = $(CROSSDEV)ld STRIP = $(CROSSDEV)strip --strip-unneeded AR = $(CROSSDEV)ar rcs
