mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 12:40:33 +00:00
[CMAKE]
- Do not link drivers to supc++ svn path=/trunk/; revision=58648
This commit is contained in:
parent
06720167a3
commit
a6a0236a4f
1 changed files with 5 additions and 1 deletions
|
@ -199,8 +199,12 @@ endfunction()
|
|||
|
||||
function(set_module_type_toolchain MODULE TYPE)
|
||||
if(IS_CPP)
|
||||
if((${TYPE} STREQUAL "kernelmodedriver") OR (${TYPE} STREQUAL "wdmdriver"))
|
||||
target_link_libraries(${MODULE} -lgcc)
|
||||
else()
|
||||
target_link_libraries(${MODULE} -lstdc++ -lsupc++ -lgcc -lmingwex)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if((${TYPE} STREQUAL "kernelmodedriver") OR (${TYPE} STREQUAL "wdmdriver"))
|
||||
add_target_link_flags(${MODULE} "-Wl,--exclude-all-symbols,-file-alignment=0x1000,-section-alignment=0x1000")
|
||||
|
|
Loading…
Reference in a new issue