mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 07:40:27 +00:00
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 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
e9bafae796
commit
737edcb885
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue