SHA256
1
0
forked from pool/mariadb

Accepting request 720488 from home:marxin:static

Use FAT LTO objects in order to provide proper static library.

OBS-URL: https://build.opensuse.org/request/show/720488
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=234
This commit is contained in:
Kristyna Streitova 2019-08-02 10:29:32 +00:00 committed by Git OBS Bridge
parent 30ec755b22
commit 93e1583ca9
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 2 08:14:49 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library.
-------------------------------------------------------------------
Thu Jul 25 11:07:30 UTC 2019 - Kristyna Streitova <kstreitova@suse.com>

View File

@ -361,6 +361,7 @@ rm -r storage/tokudb/mysql-test/tokudb/t/*.py
rm -rf storage/tokudb/PerconaFT
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
EXTRA_FLAGS="-Wno-unused-but-set-variable -fno-strict-aliasing -Wno-unused-parameter"
# Mariadb devs seems to fall in love with -Werror option
EXTRA_FLAGS="${EXTRA_FLAGS} -Wno-error"