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:
parent
70375c96d5
commit
20883841c7
Notes:
blender-bot
2023-02-14 08:29:54 +01:00
Referenced by issue #99618, Library changes for Blender 3.5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue