summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-09 05:11:41 +0000
committerSam James <sam@gentoo.org>2024-12-09 05:15:45 +0000
commitced28b1a08788e1945c90d033dacaac8c7b6fe73 (patch)
tree19c4654394151f921cd5872f4c8385d267f9f5b4 /app-cdr
parentsys-apps/ed: build w/ -std=gnu17 (for now) (diff)
downloadgentoo-ced28b1a08788e1945c90d033dacaac8c7b6fe73.tar.gz
gentoo-ced28b1a08788e1945c90d033dacaac8c7b6fe73.tar.bz2
gentoo-ced28b1a08788e1945c90d033dacaac8c7b6fe73.zip
app-cdr/cdrdao: build w/ -std=gnu17
We already pass -std=c++11 for C++ and we had to backport other fixes anyway which haven't even been merged upstream yet, so just do the workaround. Closes: https://bugs.gentoo.org/943909 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild b/app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild
index 1b2a6179da52..76fbf3386cd1 100644
--- a/app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild
+++ b/app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -41,6 +41,8 @@ src_prepare() {
}
src_configure() {
+ # bug #943909
+ append-cflags -std=gnu17
append-cxxflags -std=c++11
filter-lto # https://bugs.gentoo.org/854219