From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/calf/
Date: Fri, 22 Sep 2023 15:44:04 +0000 (UTC) [thread overview]
Message-ID: <1695397368.5bb1147e3cd021653250f8e1855c849683cbea5f.sam@gentoo> (raw)
commit: 5bb1147e3cd021653250f8e1855c849683cbea5f
Author: Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Fri Sep 22 00:30:39 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 22 15:42:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb1147e
media-plugins/calf: Explicitly add -fno-fast-math when using compiler-rt
Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/32980
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-plugins/calf/calf-0.90.3-r2.ebuild | 10 ++++++++--
media-plugins/calf/calf-9999.ebuild | 8 +++++++-
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/media-plugins/calf/calf-0.90.3-r2.ebuild b/media-plugins/calf/calf-0.90.3-r2.ebuild
index 854f4789523c..b45728ecbb78 100644
--- a/media-plugins/calf/calf-0.90.3-r2.ebuild
+++ b/media-plugins/calf/calf-0.90.3-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools xdg
+inherit autotools flag-o-matic toolchain-funcs xdg
DESCRIPTION="A set of open source instruments and effects for digital audio workstations"
HOMEPAGE="https://calf-studio-gear.org/"
@@ -56,7 +56,13 @@ src_prepare() {
eautoreconf
}
-src_configure() {
+src_configure() {
+ # Upstream append -ffast-math by default, however since libtool links C++
+ # shared libs with -nostdlib, this causes symbol resolution error for
+ # __powidn2 when using compiler-rt. Disable fast math on compiler-rt until
+ # a better fix is found.
+ [[ $(tc-get-c-rtlib) = "compiler-rt" ]] && append-cxxflags "-fno-fast-math"
+
local myeconfargs=(
--prefix="${EPREFIX}"/usr
--without-obsolete-check
diff --git a/media-plugins/calf/calf-9999.ebuild b/media-plugins/calf/calf-9999.ebuild
index f232db75e494..c83f53e73167 100644
--- a/media-plugins/calf/calf-9999.ebuild
+++ b/media-plugins/calf/calf-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools xdg
+inherit autotools flag-o-matic toolchain-funcs xdg
DESCRIPTION="A set of open source instruments and effects for digital audio workstations"
HOMEPAGE="https://calf-studio-gear.org/"
@@ -56,6 +56,12 @@ src_prepare() {
}
src_configure() {
+ # Upstream append -ffast-math by default, however since libtool links C++
+ # shared libs with -nostdlib, this causes symbol resolution error for
+ # __powidn2 when using compiler-rt. Disable fast math on compiler-rt until
+ # a better fix is found.
+ [[ $(tc-get-c-rtlib) = "compiler-rt" ]] && append-cxxflags "-fno-fast-math"
+
local myeconfargs=(
--prefix="${EPREFIX}"/usr
--without-obsolete-check
next reply other threads:[~2023-09-22 15:44 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-22 15:44 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-20 18:41 [gentoo-commits] repo/gentoo:master commit in: media-plugins/calf/ Miroslav Šulc
2025-04-19 17:59 Miroslav Šulc
2024-12-06 10:13 Sam James
2024-12-06 9:59 Sam James
2024-08-04 13:54 Miroslav Šulc
2023-09-22 15:44 Sam James
2023-06-19 6:47 Miroslav Šulc
2021-03-11 2:42 Sam James
2021-02-22 7:18 Sam James
2021-02-22 7:14 Sam James
2021-02-21 0:54 Sam James
2020-01-17 10:45 Agostino Sarubbo
2020-01-17 9:29 Agostino Sarubbo
2019-12-16 10:01 Miroslav Šulc
2019-04-01 19:33 Andreas Sturmlechner
2019-03-16 21:39 Agostino Sarubbo
2019-03-10 22:46 Andreas Sturmlechner
2019-01-26 11:50 Miroslav Šulc
2019-01-26 11:50 Miroslav Šulc
2018-07-12 19:00 Matt Thode
2018-05-17 13:52 Thomas Deutschmann
2017-12-21 5:32 Matt Thode
2017-12-20 23:22 Matt Thode
2017-12-20 23:22 Matt Thode
2017-11-17 18:47 David Seifert
2017-05-09 7:27 Alexis Ballier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1695397368.5bb1147e3cd021653250f8e1855c849683cbea5f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox