-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address comment: disable WASM on s390x
- Loading branch information
YingJie Fu
committed
Jun 5, 2024
1 parent
0ae1cfc
commit 7ead667
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(SystemZ|s390x)") | ||
message(STATUS "Forcing characters to be signed, as on x86_64.") | ||
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) | ||
endif () |