mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-01 23:17:26 -04:00
cmake: always link libgcc, libstdc++ statically
This commit is contained in:
@@ -391,12 +391,11 @@ if (WIN32)
|
|||||||
add_linker_flag_if_supported(-Wl,--high-entropy-va LD_SECURITY_FLAGS)
|
add_linker_flag_if_supported(-Wl,--high-entropy-va LD_SECURITY_FLAGS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_linker_flag_if_supported(-static-libgcc STATIC_FLAGS)
|
||||||
|
add_linker_flag_if_supported(-static-libstdc++ STATIC_FLAGS)
|
||||||
if(STATIC)
|
if(STATIC)
|
||||||
if(MINGW)
|
if(MINGW)
|
||||||
add_linker_flag_if_supported(-static STATIC_FLAGS)
|
add_linker_flag_if_supported(-static STATIC_FLAGS)
|
||||||
else()
|
|
||||||
add_linker_flag_if_supported(-static-libgcc STATIC_FLAGS)
|
|
||||||
add_linker_flag_if_supported(-static-libstdc++ STATIC_FLAGS)
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user