From 6507ff6c2929510c211276aa5b9cd1450aa9bb11 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sat, 9 Mar 2019 01:49:25 +0100 Subject: [PATCH] - rel 51; fix -Werror=trampolines option --- macros.pld.in | 4 ++-- rpm.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/macros.pld.in b/macros.pld.in index 81a08b2..4e1f81b 100644 --- a/macros.pld.in +++ b/macros.pld.in @@ -179,8 +179,8 @@ pakietu oraz przy odpluskwianiu samego pakietu.\ # cf http://wiki.mandriva.com/en/Development/Packaging/Problems#format_not_a_string_literal_and_no_format_arguments %Werror_cflags -Wformat -Werror=format-security -# Use -Werror=trampoline to prevent GCC from generating code that require executable stack -%_ssp_cflags -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampoline +# Use -Werror=trampolines to prevent GCC from generating code that require executable stack +%_ssp_cflags -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines %__common_cflags -O2 -fwrapv -pipe %{Werror_cflags} %{debuginfocflags} %{?_fortify_cflags} %{!?nospecflags:%{?specflags}} %__common_cflags_with_ssp %{__common_cflags} %{?_ssp_cflags} diff --git a/rpm.spec b/rpm.spec index e67300d..d43a351 100644 --- a/rpm.spec +++ b/rpm.spec @@ -47,7 +47,7 @@ Summary(ru.UTF-8): Менеджер пакетов от RPM Summary(uk.UTF-8): Менеджер пакетів від RPM Name: rpm Version: 5.4.15 -Release: 50 +Release: 51 License: LGPL v2.1 Group: Base # http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.15-0.20140824.src.rpm -- 2.43.0