From 86232b0ac4f699d85f3958f783b1717bd49c2d75 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Jul 24 2020 14:16:10 +0000 Subject: Disable LTO --- diff --git a/postgresql.spec b/postgresql.spec index 24aa61b..561842a 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -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 - 12.3-5 +- Disable LTO + * Tue Jun 23 2020 Jitka Plesnikova - 12.3-4 - Perl 5.32 rebuild