This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 8aa3c1e4b system/libuv: export GCCVER to environment
8aa3c1e4b is described below
commit 8aa3c1e4b97efa15e868f3c930236bcef44b630c
Author: chao an <[email protected]>
AuthorDate: Thu Aug 24 11:42:26 2023 +0800
system/libuv: export GCCVER to environment
Signed-off-by: chao an <[email protected]>
---
system/libuv/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/libuv/Makefile b/system/libuv/Makefile
index d29410de6..8ab7547b4 100644
--- a/system/libuv/Makefile
+++ b/system/libuv/Makefile
@@ -53,7 +53,7 @@ CFLAGS += -DDEF_THREADPOOL_SIZE=CONFIG_LIBUV_THREADPOOL_SIZE
CFLAGS += -DDEF_THREADPOOL_STACKSIZE=CONFIG_LIBUV_THREAD_STACKSIZE
ifeq ($(GCCVER),)
- GCCVER = $(shell $(CC) --version | grep gcc | sed -r 's/.*
([0-9]+\.[0-9]+).*/\1/' | cut -d'.' -f1)
+ export GCCVER = $(shell $(CC) --version | grep gcc | sed -r 's/.*
([0-9]+\.[0-9]+).*/\1/' | cut -d'.' -f1)
endif
ifeq ($(GCCVER),12)