feat/support_fiber #2
@ -40,8 +40,8 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
|
||||
set(WHOLE_ARCHIVE_PREFIX "-Wl,-force_load,")
|
||||
# set(NO_WHOLE_ARCHIVE_PREFIX "")
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")
|
||||
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")
|
||||
# set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")
|
||||
|
||||
set(WHOLE_ARCHIVE_PREFIX "-Wl,--whole-archive")
|
||||
set(WHOLE_ARCHIVE_SUFFIX "-Wl,--no-whole-archive")
|
||||
|
Loading…
x
Reference in New Issue
Block a user