From 2b1825ccfb6deaa0b2d002f0cc403e8b6511b489fd12b84fcee7fa0347545d12 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 12 Apr 2022 15:01:12 +0000 Subject: [PATCH] Accepting request 967837 from home:marxin:branches:Base:System - Disable -D_FORTIFY_SOURCE=3 for now as explained here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104964 OBS-URL: https://build.opensuse.org/request/show/967837 OBS-URL: https://build.opensuse.org/package/show/Base:System/acl?expand=0&rev=70 --- acl.changes | 6 ++++++ acl.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/acl.changes b/acl.changes index de5a322..b8c02c9 100644 --- a/acl.changes +++ b/acl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 8 13:40:20 UTC 2022 - Martin Liška + +- Disable -D_FORTIFY_SOURCE=3 for now + as explained here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104964 + ------------------------------------------------------------------- Sun May 16 09:19:13 UTC 2021 - Dirk Müller diff --git a/acl.spec b/acl.spec index f180400..b7f977f 100644 --- a/acl.spec +++ b/acl.spec @@ -1,7 +1,7 @@ # # spec file for package acl # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -87,6 +87,11 @@ to develop applications that require libacl. %build autoreconf -fi + +# Disable -D_FORTIFY_SOURCE=3 for now +# as explained here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104964 +%global optflags %(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=3/-D_FORTIFY_SOURCE=2/') + export OPTIMIZER="%optflags -fPIC" export DEBUG=-DNDEBUG CFLAGS="%optflags"