mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[MSVCRTEX] Only include _CrtDbgReport*, if we don't already export them (#6797)
* [MSVCRTEX] Only include _CrtDbgReport*, if we don't already export them For some reason clang builds now want the ___chkstk_ms on x64 as well, so add it.
This commit is contained in:
parent
dcf9eb060a
commit
701b0a3f24
2 changed files with 3 additions and 1 deletions
|
@ -16,9 +16,11 @@
|
||||||
.code64
|
.code64
|
||||||
|
|
||||||
PUBLIC __chkstk
|
PUBLIC __chkstk
|
||||||
|
PUBLIC ___chkstk_ms
|
||||||
PUBLIC __alloca_probe
|
PUBLIC __alloca_probe
|
||||||
|
|
||||||
__alloca_probe:
|
__alloca_probe:
|
||||||
|
___chkstk_ms:
|
||||||
.PROC __chkstk
|
.PROC __chkstk
|
||||||
|
|
||||||
push rcx /* save temps */
|
push rcx /* save temps */
|
||||||
|
|
|
@ -4,7 +4,6 @@ include_directories(include/internal/mingw-w64)
|
||||||
list(APPEND MSVCRTEX_SOURCE
|
list(APPEND MSVCRTEX_SOURCE
|
||||||
${CRT_STARTUP_SOURCE}
|
${CRT_STARTUP_SOURCE}
|
||||||
math/sincos.c
|
math/sincos.c
|
||||||
misc/dbgrpt.cpp
|
|
||||||
misc/fltused.c
|
misc/fltused.c
|
||||||
misc/isblank.c
|
misc/isblank.c
|
||||||
misc/iswblank.c
|
misc/iswblank.c
|
||||||
|
@ -13,6 +12,7 @@ list(APPEND MSVCRTEX_SOURCE
|
||||||
|
|
||||||
if(DLL_EXPORT_VERSION LESS 0x600)
|
if(DLL_EXPORT_VERSION LESS 0x600)
|
||||||
list(APPEND MSVCRTEX_SOURCE
|
list(APPEND MSVCRTEX_SOURCE
|
||||||
|
misc/dbgrpt.cpp
|
||||||
stdlib/_invalid_parameter.c
|
stdlib/_invalid_parameter.c
|
||||||
stdlib/rand_s.c
|
stdlib/rand_s.c
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue