Linux: stop using static libstdc++ for release builds
This is not compatible with upcoming shared libraries usage, where we can't let each library have their own libstdc++ and safely exchange memory. Hopefully it is no longer required either. This is from before Blender builds were even made on CentOS 7, and there is no obvious reason it is still needed. Ref T99618
This commit is contained in:
@@ -28,4 +28,4 @@ set(LIBDIR "${CMAKE_CURRENT_LIST_DIR}/../../../../lib/${LIBDIR_NAME}" CACHE STRI
|
||||
# Platform specific configuration, to ensure static linking against everything.
|
||||
|
||||
# Additional linking libraries
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-lrt -static-libstdc++ -no-pie" CACHE STRING "" FORCE)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-lrt -no-pie" CACHE STRING "" FORCE)
|
||||
|
||||
Reference in New Issue
Block a user