File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if (CLR_CMAKE_TARGET_UNIX OR CLR_CMAKE_TARGET_BROWSER OR CLR_CMAKE_TARGET_WASI)
33
33
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wno-declaration-after-statement" )
34
34
35
35
if (CLR_CMAKE_TARGET_BROWSER)
36
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-pre-c11-compat" )
36
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-pre-c11-compat -Wno-version-check " )
37
37
endif ()
38
38
39
39
add_compile_options (-I${CMAKE_CURRENT_SOURCE_DIR} /Common)
Original file line number Diff line number Diff line change @@ -616,6 +616,7 @@ elseif(CLR_CMAKE_TARGET_ANDROID)
616
616
set (HAVE_CLOCK_REALTIME 1)
617
617
elseif (CLR_CMAKE_TARGET_BROWSER OR CLR_CMAKE_TARGET_WASI)
618
618
set (HAVE_FORK 0)
619
+ add_compile_options (-Wno-version -check)
619
620
else ()
620
621
check_symbol_exists(
621
622
aligned_alloc
You can’t perform that action at this time.
0 commit comments