mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue