summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2022-12-26 10:16:39 +0100
committerFabian Groffen <grobian@gentoo.org>2022-12-26 10:16:39 +0100
commite2a85af45d04047be583d3f8c6c4d58f1bb7b9af (patch)
treec4b02744bd6b374e22284b9069eef50c285764a7 /app-admin/coreboot-utils
parentapp-misc/carbon-c-relay-3.7.4-r2: revbump for pcre removal (diff)
downloadgentoo-e2a85af45d04047be583d3f8c6c4d58f1bb7b9af.tar.gz
gentoo-e2a85af45d04047be583d3f8c6c4d58f1bb7b9af.tar.bz2
gentoo-e2a85af45d04047be583d3f8c6c4d58f1bb7b9af.zip
app-admin/coreboot-utils-4.18-r1: catch one more -Werror occurence
Closes: https://bugs.gentoo.org/888442 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'app-admin/coreboot-utils')
-rw-r--r--app-admin/coreboot-utils/coreboot-utils-4.18-r1.ebuild (renamed from app-admin/coreboot-utils/coreboot-utils-4.18.ebuild)3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-admin/coreboot-utils/coreboot-utils-4.18.ebuild b/app-admin/coreboot-utils/coreboot-utils-4.18-r1.ebuild
index a9115a5fe9d9..f50dd5d15b0a 100644
--- a/app-admin/coreboot-utils/coreboot-utils-4.18.ebuild
+++ b/app-admin/coreboot-utils/coreboot-utils-4.18-r1.ebuild
@@ -42,7 +42,8 @@ src_prepare() {
# force optimisation
# can't do this in one sed, because it all happens back-to-back
for e in '-O[01234567s]' '-g' '-Werror' '-ansi' '-pendantic' ; do
- sed -i -e 's/ '"${e}"'\( \|$\)/ /g' util/*/Makefile{.inc,} || die
+ sed -i -e 's/\( \|=\)'"${e}"'\( \|$\)/\1/g' util/*/Makefile{.inc,} \
+ || die
done
}