Accepting request 969480 from Base:System

OBS-URL: https://build.opensuse.org/request/show/969480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/acl?expand=0&rev=51
This commit is contained in:
Dominique Leuenberger 2022-04-17 21:49:31 +00:00 committed by Git OBS Bridge
commit b79b97cac8
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 8 13:40:20 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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 <dmueller@suse.com>

View File

@ -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"