From 1402e556ebd639e2b462f0f310ed5409e4cd8f3a Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Wed, 4 Nov 2020 22:02:56 +0800 Subject: [PATCH] quickjs: Don't define __NuttX__ manually since nuttx/tools/Config.mk will do it for us Signed-off-by: Xiang Xiao --- interpreters/quickjs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreters/quickjs/Makefile b/interpreters/quickjs/Makefile index eab440a2b..1a916275c 100644 --- a/interpreters/quickjs/Makefile +++ b/interpreters/quickjs/Makefile @@ -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