Skip to content

Commit

Permalink
cmake: fix UNICODE-escaped characters on aarch64
Browse files Browse the repository at this point in the history
Signed-off-by: Rama Malladi <[email protected]>
  • Loading branch information
RamaMalladiAWS committed May 27, 2024
1 parent 3250fa1 commit d7f3922
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv7l")
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -latomic")
set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -latomic")
endif()
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|aarch64)")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char")
endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set(FLB_SYSTEM_FREEBSD On)
add_definitions(-DFLB_SYSTEM_FREEBSD)
Expand Down

0 comments on commit d7f3922

Please sign in to comment.