mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 02:20:54 +00:00
[CMAKE]
Fix minicd boot regression. Remove unneeded usetup link to msvcrt. svn path=/branches/cmake-bringup/; revision=48814
This commit is contained in:
parent
f24f83f0b3
commit
886d934055
|
@ -35,8 +35,7 @@ target_link_libraries(usetup
|
|||
newinflib
|
||||
ext2lib
|
||||
vfatlib
|
||||
mingw_common
|
||||
-lmsvcrt)
|
||||
mingw_common)
|
||||
|
||||
set_target_properties(usetup PROPERTIES LINK_FLAGS "-Wl,-entry,_NtProcessStartup@4")
|
||||
|
||||
|
|
|
@ -31,8 +31,11 @@ SET(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -i <SOURCE> <CMAKE_C_LINK_FLAGS
|
|||
|
||||
# Use stdcall fixups, and don't link with anything by default unless we say so
|
||||
set(CMAKE_C_STANDARD_LIBRARIES -lgcc CACHE STRING "libgcc") # We should add the environment libgcc here
|
||||
#-Wl,-T,${REACTOS_SOURCE_DIR}/global.lds
|
||||
if(ARCH MATCHES i386)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-nodefaultlibs -nostdlib -Wl,--enable-auto-image-base -Wl,--enable-stdcall-fixup -Wl,--kill-at -Wl,-T,${REACTOS_SOURCE_DIR}/global.lds")
|
||||
elseif(ARCH MATCHES amd64)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-nodefaultlibs -nostdlib -Wl,--enable-auto-image-base -Wl,--enable-stdcall-fixup -Wl,--kill-at")
|
||||
endif(ARCH MATCHES i386)
|
||||
|
||||
# adjust the default behaviour of the FIND_XXX() commands:
|
||||
# search headers and libraries in the target environment, search
|
||||
|
|
Loading…
Reference in a new issue