From 8aa3c1e4b97efa15e868f3c930236bcef44b630c Mon Sep 17 00:00:00 2001 From: chao an Date: Thu, 24 Aug 2023 11:42:26 +0800 Subject: [PATCH] system/libuv: export GCCVER to environment Signed-off-by: chao an --- 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)