app-arch/sharutils: Sync with Gentoo

It's from Gentoo commit 60a2079c942f192dd4f75159efedbf03eb57b07d.
This commit is contained in:
Flatcar Buildbot 2025-01-13 07:04:40 +00:00 committed by Krzesimir Nowak
parent 7698f905a5
commit 936e584419

View File

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@ -32,6 +32,9 @@ src_prepare() {
# Upstream is aware but thinks this isn't a bug/problem in sharutils itself
# See http://lists.gnu.org/archive/html/bug-gnu-utils/2013-10/msg00011.html
append-cflags $(test-flags-CC -Wno-error=format-security)
# bug #943901
append-cflags -std=gnu17
}
src_configure() {