mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[FREELDR] Prevent a warning in Xbox memory initialization
This commit is contained in:
@@ -195,6 +195,10 @@ if(USE_CLANG_CL)
|
||||
# We need to reduce the binary size
|
||||
add_target_compile_flags(freeldr_common "/Os")
|
||||
endif()
|
||||
if(NOT MSVC AND ARCH STREQUAL "i386")
|
||||
# Prevent a warning when doing a memcmp with address 0
|
||||
set_source_files_properties(arch/i386/xboxmem.c PROPERTIES COMPILE_FLAGS "-Wno-nonnull")
|
||||
endif()
|
||||
|
||||
set(PCH_SOURCE
|
||||
${FREELDR_BOOTLIB_SOURCE}
|
||||
|
||||
Reference in New Issue
Block a user