From 20883841c751e1dc28dc9b69ee20c797eeab4ca7 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 5 Dec 2022 23:28:29 +0100 Subject: [PATCH] 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 --- build_files/buildbot/config/blender_linux.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)