[Bf-blender-cvs] [20883841c75] master: Linux: stop using static libstdc++ for release builds

Brecht Van Lommel noreply at git.blender.org
Wed Dec 7 15:28:40 CET 2022


Commit: 20883841c751e1dc28dc9b69ee20c797eeab4ca7
Author: Brecht Van Lommel
Date:   Mon Dec 5 23:28:29 2022 +0100
Branches: master
https://developer.blender.org/rB20883841c751e1dc28dc9b69ee20c797eeab4ca7

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

===================================================================

M	build_files/buildbot/config/blender_linux.cmake

===================================================================

diff --git a/build_files/buildbot/config/blender_linux.cmake b/build_files/buildbot/config/blender_linux.cmake
index bedeeb6a690..3f3695ed481 100644
--- a/build_files/buildbot/config/blender_linux.cmake
+++ b/build_files/buildbot/config/blender_linux.cmake
@@ -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)



More information about the Bf-blender-cvs mailing list