Skip to content

Commit

Permalink
update libffi target
Browse files Browse the repository at this point in the history
Change-Id: I726e88d78b517a36e566e498fd605a3eacd8d1cd
  • Loading branch information
realqhc committed Jun 22, 2022
1 parent 8b6f329 commit c35a013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/modules/LibffiUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ function(setup_libffi libffi_srcroot)
# Set target based on arch.
if(HAVE_64BIT AND ${llarch} STREQUAL "aarch64")
set(TARGET AARCH64)
elseif(HAVE_64BIT AND ${llarch} STREQUAL "riscv64")
set(TARGET RISCV64)
elseif(HAVE_64BIT)
set(TARGET X86_64)
else()
Expand Down

0 comments on commit c35a013

Please sign in to comment.