summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-13 15:00:44 +0000
committerSam James <sam@gentoo.org>2024-12-13 15:00:44 +0000
commitaf9b708248fd372daa1c070085dde7f340bda23c (patch)
treec8560495d8e6e8c0d1ca17409e56fef8160b01ab /dev-db/mariadb/mariadb-10.6.20.ebuild
parentapp-containers/docker-buildx: Stabilize 0.14.0 arm64, #945821 (diff)
downloadgentoo-af9b708248fd372daa1c070085dde7f340bda23c.tar.gz
gentoo-af9b708248fd372daa1c070085dde7f340bda23c.tar.bz2
gentoo-af9b708248fd372daa1c070085dde7f340bda23c.zip
dev-db/mariadb: build w/ -std=gnu17
Closes: https://bugs.gentoo.org/945352 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/mariadb/mariadb-10.6.20.ebuild')
-rw-r--r--dev-db/mariadb/mariadb-10.6.20.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-db/mariadb/mariadb-10.6.20.ebuild b/dev-db/mariadb/mariadb-10.6.20.ebuild
index 298f78a52a7b..d802e68212fd 100644
--- a/dev-db/mariadb/mariadb-10.6.20.ebuild
+++ b/dev-db/mariadb/mariadb-10.6.20.ebuild
@@ -299,6 +299,9 @@ src_configure() {
# It fails on alpha without this
use alpha && append-ldflags "-Wl,--no-relax"
+ # bug #945352
+ append-cflags -std=gnu17
+
append-cxxflags -felide-constructors
# bug #283926, with GCC4.4, this is required to get correct behavior.