You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by da...@apache.org on 2020/11/05 11:38:56 UTC

[incubator-nuttx-apps] branch master updated: quickjs: Don't define __NuttX__ manually

This is an automated email from the ASF dual-hosted git repository.

davids5 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 1402e55  quickjs: Don't define __NuttX__ manually
1402e55 is described below

commit 1402e556ebd639e2b462f0f310ed5409e4cd8f3a
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Wed Nov 4 22:02:56 2020 +0800

    quickjs: Don't define __NuttX__ manually
    
    since nuttx/tools/Config.mk will do it for us
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 interpreters/quickjs/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interpreters/quickjs/Makefile b/interpreters/quickjs/Makefile
index eab440a..1a91627 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