SHA256
1
0
forked from pool/mariadb

Accepting request 791411 from home:namtrac:branches:server:database

- 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

OBS-URL: https://build.opensuse.org/request/show/791411
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=251
This commit is contained in:
Martin Pluskal 2020-04-05 06:57:19 +00:00 committed by Git OBS Bridge
parent f8b34d4b4d
commit bf87a0bfb6
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Apr 4 18:13:48 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- 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 <mliska@suse.cz>

View File

@ -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 "$@" ..