diff --git a/mariadb.changes b/mariadb.changes index 983ed22..f0fe269 100644 --- a/mariadb.changes +++ b/mariadb.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Apr 4 18:13:48 UTC 2020 - Ismail Dönmez + +- Add -Wl,-Bsymbolic -Wl,-Bsymbolic-functions to linker flags so + that symbols are resolved locally if possible, this will avoid + https://bugs.kde.org/show_bug.cgi?id=391362 + ------------------------------------------------------------------- Tue Mar 24 05:46:49 UTC 2020 - Martin Liška diff --git a/mariadb.spec b/mariadb.spec index c01248f..2d983bd 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -469,9 +469,9 @@ export CXXFLAGS="$CFLAGS -felide-constructors" -DINSTALL_SQLBENCHDIR=share \ -DCMAKE_C_FLAGS="$CFLAGS" \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \ - -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \ - -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now" \ + -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now -Wl,-Bsymbolic -Wl,-Bsymbolic-functions" \ + -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now -Wl,-Bsymbolic -Wl,-Bsymbolic-functions" \ + -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now -Wl,-Bsymbolic -Wl,-Bsymbolic-functions" \ -DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -Wno-dev "$@" ..