summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-24 23:25:52 +0000
committerSam James <sam@gentoo.org>2024-11-24 23:25:52 +0000
commita1fd2801b201f00cc014fb8a59bc32baad8e110a (patch)
treec18f98fbac50d02ad074b39496b86d88c20ab7fa /app-arch
parentapp-i18n/ibus: build w/ -std=gnu17 (diff)
downloadgentoo-a1fd2801b201f00cc014fb8a59bc32baad8e110a.tar.gz
gentoo-a1fd2801b201f00cc014fb8a59bc32baad8e110a.tar.bz2
gentoo-a1fd2801b201f00cc014fb8a59bc32baad8e110a.zip
app-arch/zip: build all configure tests w/ gnu89 too
Closes: https://bugs.gentoo.org/943727 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/zip/zip-3.0-r7.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-arch/zip/zip-3.0-r7.ebuild b/app-arch/zip/zip-3.0-r7.ebuild
index 2962711cdf55..6cfcce9e073a 100644
--- a/app-arch/zip/zip-3.0-r7.ebuild
+++ b/app-arch/zip/zip-3.0-r7.ebuild
@@ -38,6 +38,8 @@ src_prepare() {
}
src_configure() {
+ # Needed for tricky configure tests w/ C23 (bug #943727)
+ export CC="$(tc-getCC) -std=gnu89"
# Needed for Clang 16
append-flags -std=gnu89