diff options
author | Florian Schmaus <flow@gentoo.org> | 2022-05-08 14:02:25 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-05-08 14:03:20 +0200 |
commit | 137c6d0032d7734a0a884d82812b8d2e7fa48be2 (patch) | |
tree | 0a67e2fdb31bb207215e4996050e7aba852e82fc /app-emulation | |
parent | media-radio/fldigi: add 4.1.22 (diff) | |
download | gentoo-137c6d0032d7734a0a884d82812b8d2e7fa48be2.tar.gz gentoo-137c6d0032d7734a0a884d82812b8d2e7fa48be2.tar.bz2 gentoo-137c6d0032d7734a0a884d82812b8d2e7fa48be2.zip |
app-emulation/xen-tools: remove more -Werror arguments
Closes: https://bugs.gentoo.org/843269
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/xen-tools/xen-tools-4.16.0-r4.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app-emulation/xen-tools/xen-tools-4.16.0-r4.ebuild b/app-emulation/xen-tools/xen-tools-4.16.0-r4.ebuild index d47a25185322..60c3e719f0c0 100644 --- a/app-emulation/xen-tools/xen-tools-4.16.0-r4.ebuild +++ b/app-emulation/xen-tools/xen-tools-4.16.0-r4.ebuild @@ -419,7 +419,11 @@ src_prepare() { # Remove -Werror find . -type f \( -name Makefile -o -name "*.mk" \) \ - -exec sed -i "s/-Werror //g" {} + || die + -exec sed -i \ + -e 's/-Werror //g' \ + -e '/^CFLAGS *+= -Werror$/d' \ + -e 's/, "-Werror"//' \ + {} + || die default } |