SHA256
3
0
forked from pool/acl

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
This commit is contained in:
Marcus Meissner 2022-04-12 15:01:12 +00:00 committed by Git OBS Bridge
parent d43fcbe412
commit 2b1825ccfb
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"