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:
wangjianyu3 2026-10-01 18:36:15 +08:00 • committed by Alan C. Assis
parent e9bafae796
commit 737edcb885

View file

@ -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