quickjs: Don't define __NuttX__ manually
since nuttx/tools/Config.mk will do it for us Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
ee7b0fc1dd
commit
1402e556eb
@ -33,7 +33,7 @@ MAINSRC = qjs.c
|
||||
|
||||
VERSION=\"$(shell cat $(QUICKJS_UNPACK)/VERSION)\"
|
||||
|
||||
CFLAGS += -DCONFIG_VERSION=$(VERSION) -Wno-shadow -D__NuttX__
|
||||
CFLAGS += -DCONFIG_VERSION=$(VERSION) -Wno-shadow
|
||||
CFLAGS += -Wno-array-bounds -I$(QUICKJS_UNPACK)
|
||||
ifneq ($(CONFIG_INTERPRETERS_QUICKJS_BIGNUM),)
|
||||
CFLAGS += -DCONFIG_BIGNUM
|
||||
|
Loading…
x
Reference in New Issue
Block a user