mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 08:42:05 +00:00
[UCRT:VCRUNTIME] Add initializer sections
Use #pragma section only for MSVC (and Clang-cl), because Clang doesn't like allocating non-const variables in a read-only section, while GCC doesn't understand these pragmas and ignores them.
This commit is contained in:
parent
4198ceb83a
commit
9c887efa0e
3 changed files with 25 additions and 0 deletions
|
@ -4,6 +4,7 @@ list(APPEND UCRT_VCRUNTIME_SOURCES
|
|||
vcruntime/__report_rangecheckfailure.c
|
||||
vcruntime/__security_init_cookie.c
|
||||
vcruntime/__vcrt_init.c
|
||||
vcruntime/initializers.cpp
|
||||
)
|
||||
|
||||
if(${ARCH} STREQUAL "i386")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue