mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 09:20:43 +08:00
[CMAKE] Add GCC options to make a long double 64 bits
This adds -mlong-double-64 to make the size of a long double 64 bits in GCC builds to match MSVC builds.
This commit is contained in:
@@ -28,7 +28,7 @@ target_compile_definitions(msvcrt_winetest PRIVATE
|
||||
__msvcrt_ulong=ULONG)
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
target_compile_options(msvcrt_winetest PRIVATE -Wno-format -Wno-stringop-truncation)
|
||||
target_compile_options(msvcrt_winetest PRIVATE -Wno-format -Wno-stringop-truncation -Wno-overflow)
|
||||
endif()
|
||||
|
||||
set_module_type(msvcrt_winetest win32cui)
|
||||
|
||||
Reference in New Issue
Block a user