Skip to content

Commit fe1e5c6

Browse files
committed
Temporarily disable version checks to get further
1 parent 1721779 commit fe1e5c6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/native/libs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (CLR_CMAKE_TARGET_UNIX OR CLR_CMAKE_TARGET_BROWSER OR CLR_CMAKE_TARGET_WASI)
3333
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wno-declaration-after-statement")
3434

3535
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")
3737
endif()
3838

3939
add_compile_options(-I${CMAKE_CURRENT_SOURCE_DIR}/Common)

src/native/libs/configure.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ elseif(CLR_CMAKE_TARGET_ANDROID)
616616
set(HAVE_CLOCK_REALTIME 1)
617617
elseif(CLR_CMAKE_TARGET_BROWSER OR CLR_CMAKE_TARGET_WASI)
618618
set(HAVE_FORK 0)
619+
add_compile_options(-Wno-version-check)
619620
else()
620621
check_symbol_exists(
621622
aligned_alloc

0 commit comments

Comments
 (0)