mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
system/libuv: export GCCVER to environment
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
77e6c39cbd
commit
8aa3c1e4b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue