mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 18:11:57 +00:00
[CRT]
* Use gas to compile except/cpp.c until http://llvm.org/bugs/show_bug.cgi?id=19027 is fixed. svn path=/trunk/; revision=64067
This commit is contained in:
parent
11a6a9d17b
commit
b4cec44624
1 changed files with 5 additions and 0 deletions
|
@ -510,6 +510,11 @@ endif()
|
|||
set_source_files_properties(${CRT_ASM_SOURCE} PROPERTIES COMPILE_DEFINITIONS "__MINGW_IMPORT=extern;USE_MSVCRT_PREFIX;_MSVCRT_LIB_;_MSVCRT_;_MT;CRTDLL")
|
||||
add_asm_files(crt_asm ${CRT_ASM_SOURCE})
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
#FIXME: http://llvm.org/bugs/show_bug.cgi?id=19027
|
||||
set_property(SOURCE except/cpp.c APPEND_STRING PROPERTY COMPILE_FLAGS " -no-integrated-as")
|
||||
endif()
|
||||
|
||||
add_library(crt ${CRT_SOURCE} ${crt_asm})
|
||||
target_link_libraries(crt chkstk)
|
||||
add_target_compile_definitions(crt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue