mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 22:18:19 +00:00
Merge pull request #8176 from furo321/arm-signed-char
Add `-fsigned-char` by default for ARM systems
This commit is contained in:
commit
19c48e32ee
|
@ -291,6 +291,12 @@ if(NOT MSVC AND NOT HAIKU)
|
|||
add_cxx_compiler_flag_if_supported(OUR_FLAGS -ffloat-store)
|
||||
endif()
|
||||
|
||||
# This is needed to get the server to correctly display special characters
|
||||
# on ARM systems.
|
||||
if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "aarch64")
|
||||
add_cxx_compiler_flag_if_supported(OUR_FLAGS -fsigned-char)
|
||||
endif()
|
||||
|
||||
# Don't insert timestamps into PEs to keep the build reproducible.
|
||||
if(TARGET_OS STREQUAL "windows")
|
||||
add_cxx_compiler_flag_if_supported(OUR_FLAGS_LINK -Wl,--no-insert-timestamp)
|
||||
|
|
Loading…
Reference in a new issue