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 22, 2024
1 parent 3250fa1 commit 239e878
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 @@ -107,6 +107,9 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/library")
option(FLB_ALL "Enable all features" No)
option(FLB_DEBUG "Build with debug mode (-g)" Yes)
option(FLB_RELEASE "Build with release mode (-O2 -g -DNDEBUG)" No)
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|aarch64)")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char")
endif()
set(FLB_IPO "ReleaseOnly" CACHE STRING "Build with interprocedural optimization")
set_property(CACHE FLB_IPO PROPERTY STRINGS "On;Off;ReleaseOnly")
option(FLB_SMALL "Optimise for small size" No)
Expand Down

0 comments on commit 239e878

Please sign in to comment.