Skip to content

Commit

Permalink
Temporarily disable version checks to get further
Browse files Browse the repository at this point in the history
  • Loading branch information
radekdoulik committed Jun 3, 2024
1 parent 1721779 commit fe1e5c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/libs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (CLR_CMAKE_TARGET_UNIX OR CLR_CMAKE_TARGET_BROWSER OR CLR_CMAKE_TARGET_WASI)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wno-declaration-after-statement")

if (CLR_CMAKE_TARGET_BROWSER)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-pre-c11-compat")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-pre-c11-compat -Wno-version-check")
endif()

add_compile_options(-I${CMAKE_CURRENT_SOURCE_DIR}/Common)
Expand Down
1 change: 1 addition & 0 deletions src/native/libs/configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ elseif(CLR_CMAKE_TARGET_ANDROID)
set(HAVE_CLOCK_REALTIME 1)
elseif(CLR_CMAKE_TARGET_BROWSER OR CLR_CMAKE_TARGET_WASI)
set(HAVE_FORK 0)
add_compile_options(-Wno-version-check)
else()
check_symbol_exists(
aligned_alloc
Expand Down

0 comments on commit fe1e5c6

Please sign in to comment.