Skip to content

Commit

Permalink
build: use the system lib luajit for s390x
Browse files Browse the repository at this point in the history
Signed-off-by: YingJie Fu <[email protected]>
  • Loading branch information
YingJie Fu committed Aug 7, 2024
1 parent 7256406 commit 4153987
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cmake/s390x.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(SystemZ|s390x)")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char")
message(STATUS "Cannot build WAMR on this platform, so WASM support is disabled.")
set(FLB_WASM OFF)
message(STATUS "This platform does not support LuaJIT, so it's disabled.")
set(FLB_LUAJIT OFF)
if(FLB_LUAJIT)
if(NOT FLB_PREFER_SYSTEM_LIB_LUAJIT)
message(WARNING "LuaJIT disabled. This platform does not support built in LuaJIT, please install LuaJIT as system lib and try again with FLB_PREFER_SYSTEM_LIB_LUAJIT on.")
set(FLB_LUAJIT OFF)
endif()
endif()
endif ()

0 comments on commit 4153987

Please sign in to comment.