Disable LTO
This commit is contained in:
parent
9d4f3560bd
commit
86232b0ac4
@ -61,7 +61,7 @@ Summary: PostgreSQL client programs
|
||||
Name: postgresql
|
||||
%global majorversion 12
|
||||
Version: %{majorversion}.3
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
|
||||
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
|
||||
# recognizes it as an independent license, so we do as well.
|
||||
@ -413,6 +413,10 @@ find . -type f -name .gitignore | xargs rm
|
||||
|
||||
|
||||
%build
|
||||
|
||||
# LTO is currently incompatible with systemtap/dtrace static probes
|
||||
%define _lto_cflags %{nil}
|
||||
|
||||
# fail quickly and obviously if user tries to build as root
|
||||
%if %runselftest
|
||||
if [ x"`id -u`" = x0 ]; then
|
||||
@ -1259,6 +1263,9 @@ make -C postgresql-setup-%{setup_version} check
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 24 2020 Jeff Law <law@redhat.com> - 12.3-5
|
||||
- Disable LTO
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 12.3-4
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user