From a8320b2610a082aa0766200884c69a76f21829b2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 25 Mar 2023 03:25:25 +0000 Subject: app-arch/tar: avoid -Werror and -fanalyzer Signed-off-by: Sam James --- app-arch/tar/tar-1.34-r2.ebuild | 5 +++++ app-arch/tar/tar-1.34-r3.ebuild | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'app-arch/tar') diff --git a/app-arch/tar/tar-1.34-r2.ebuild b/app-arch/tar/tar-1.34-r2.ebuild index e6c0b272787b..86fdc8e05e20 100644 --- a/app-arch/tar/tar-1.34-r2.ebuild +++ b/app-arch/tar/tar-1.34-r2.ebuild @@ -38,8 +38,13 @@ PDEPEND=" " src_configure() { + # -fanalyzer doesn't make sense for us in ebuilds, as it's for static analysis + export gl_cv_warn_c__fanalyzer=no + local myeconfargs=( --bindir="${EPREFIX}"/bin + # Avoid -Werror + --disable-gcc-warnings --enable-backup-scripts --libexecdir="${EPREFIX}"/usr/sbin $(use_with acl posix-acls) diff --git a/app-arch/tar/tar-1.34-r3.ebuild b/app-arch/tar/tar-1.34-r3.ebuild index abf8af8f3d94..f92891dceff1 100644 --- a/app-arch/tar/tar-1.34-r3.ebuild +++ b/app-arch/tar/tar-1.34-r3.ebuild @@ -42,8 +42,13 @@ PATCHES=( ) src_configure() { + # -fanalyzer doesn't make sense for us in ebuilds, as it's for static analysis + export gl_cv_warn_c__fanalyzer=no + local myeconfargs=( --bindir="${EPREFIX}"/bin + # Avoid -Werror + --disable-gcc-warnings --enable-backup-scripts --libexecdir="${EPREFIX}"/usr/sbin $(use_with acl posix-acls) -- cgit v1.2.3-65-gdbad