mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:03:26 +00:00
Apply suggestions from code review
Beautification and clarity Co-authored-by: Victor Perevertkin <victor@perevertkin.ru> Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
This commit is contained in:
parent
c004b53d77
commit
ab825334dd
5 changed files with 7 additions and 8 deletions
|
@ -96,9 +96,9 @@ add_asm_files(msvcrtex_asm ${MSVCRTEX_ASM_SOURCE})
|
|||
add_library(msvcrtex ${MSVCRTEX_SOURCE} ${msvcrtex_asm})
|
||||
target_compile_definitions(msvcrtex PRIVATE _DLL _MSVCRTEX_)
|
||||
|
||||
if ((NOT MSVC) OR USE_CLANG_CL)
|
||||
if(GCC OR CLANG)
|
||||
target_compile_options(msvcrtex PRIVATE $<$<COMPILE_LANGUAGE:C>:-Wno-main>)
|
||||
if (LTCG)
|
||||
if(LTCG)
|
||||
target_compile_options(msvcrtex PRIVATE -fno-lto)
|
||||
endif()
|
||||
endif()
|
||||
|
@ -107,7 +107,7 @@ set_source_files_properties(startup/crtdll.c PROPERTIES COMPILE_DEFINITIONS CRTD
|
|||
set_source_files_properties(startup/crtexe.c
|
||||
startup/wcrtexe.c PROPERTIES COMPILE_DEFINITIONS _M_CEE_PURE)
|
||||
|
||||
if (NOT MSVC)
|
||||
if(NOT MSVC)
|
||||
target_link_libraries(msvcrtex oldnames)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue