Skip to content

Commit

Permalink
system/libuv: Sync CMakeLists.txt with Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Xiang Xiao <[email protected]>
  • Loading branch information
xiaoxiang781216 committed Oct 27, 2024
1 parent 9af54c9 commit 7e13ffc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions system/libuv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,13 @@ if(CONFIG_LIBUV)
# ############################################################################

set(CFLAGS
-Wno-shadow -DDEF_THREADPOOL_SIZE=CONFIG_LIBUV_THREADPOOL_SIZE
-Wno-shadow
-DDEF_THREADPOOL_SIZE=CONFIG_LIBUV_THREADPOOL_SIZE
-DDEF_THREADPOOL_STACKSIZE=CONFIG_LIBUV_THREAD_STACKSIZE
-DDEF_THREADPOOL_PRIORITY=CONFIG_LIBUV_THREADPOOL_PRIORITY)
-DDEF_THREADPOOL_PRIORITY=CONFIG_LIBUV_THREADPOOL_PRIORITY
-DMAX_EPOLL_EVENTS=CONFIG_LIBUV_MAX_EPOLL_EVENTS
-DPREP_EVENT_SIZE=CONFIG_LIBUV_PREP_EVENT_SIZE
-DDEF_STREAM_READ_BUF_SIZE=CONFIG_LIBUV_STREAM_READ_BUF_SIZE)

if(GCCVER GREATER_EQUAL 12)
list(APPEND CFLAGS -Wno-dangling-pointer)
Expand Down

0 comments on commit 7e13ffc

Please sign in to comment.