1
0
Fork 0
forked from nuttx/nuttx-update

arch/arm/src/arm/Toolchain.defs: Append "-P -x c" for CPP macro

like other Toolchain.defs

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-07-21 11:18:09 +08:00 committed by Brennan Ashton
parent 1a901d72c0
commit b4b413e2f4

View file

@ -87,7 +87,7 @@ endif
CC = $(CROSSDEV)gcc
CXX = $(CROSSDEV)g++
CPP = $(CROSSDEV)gcc -E
CPP = $(CROSSDEV)gcc -E -P -x c
LD = $(CROSSDEV)ld
STRIP = $(CROSSDEV)strip --strip-unneeded
AR = $(CROSSDEV)ar rcs