summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-05-29 23:16:46 +0100
committerMarek Szuba <marecki@gentoo.org>2022-05-29 23:16:46 +0100
commitf9741ffa8b1eaf283306886240a31e887012ad7a (patch)
treefe821155780d2d8864910c1dd7ec028e6f99349d /app-containers/apptainer/apptainer-1.0.2.ebuild
parentapp-text/xiphos: disable the editor (diff)
downloadgentoo-f9741ffa8b1eaf283306886240a31e887012ad7a.tar.gz
gentoo-f9741ffa8b1eaf283306886240a31e887012ad7a.tar.bz2
gentoo-f9741ffa8b1eaf283306886240a31e887012ad7a.zip
app-containers/apptainer: trim upstream CFLAGS
-DFORTIFY_SOURCE=2 is a Gentoo default and it being explicitly mentioned makes things more difficult for those who would rather use level 3. Nuking -Werror should require no explanation. Closes: https://bugs.gentoo.org/847895 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-containers/apptainer/apptainer-1.0.2.ebuild')
-rw-r--r--app-containers/apptainer/apptainer-1.0.2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-containers/apptainer/apptainer-1.0.2.ebuild b/app-containers/apptainer/apptainer-1.0.2.ebuild
index 9f711a070ada..56b48324770c 100644
--- a/app-containers/apptainer/apptainer-1.0.2.ebuild
+++ b/app-containers/apptainer/apptainer-1.0.2.ebuild
@@ -30,6 +30,10 @@ BDEPEND="virtual/pkgconfig"
CONFIG_CHECK="~SQUASHFS"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.2-trim_upstream_cflags.patch
+)
+
DOCS=( README.md CONTRIBUTORS.md CONTRIBUTING.md )
src_configure() {