Disable LTO for now, causes test failures

This commit is contained in:
Sandro Mani 2020-08-02 00:36:46 +02:00
parent 124676c882
commit de7ab7bb69
1 changed files with 3 additions and 0 deletions

View File

@ -135,6 +135,9 @@ cp -p %{SOURCE2} .
%build
# Disable LTO for now, causes test failures
%define _lto_cflags %{nil}
%configure %configure_opts --with-gui --with-pgconfig=%{_bindir}/pg_server_config
sed -i 's| -fstack-clash-protection | |' postgis/Makefile
sed -i 's| -fstack-clash-protection | |' raster/rt_pg/Makefile