summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-09-07 20:54:46 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-09-07 20:54:46 +0200
commit3f350748216259e2f4e5b97fe3516e28cabbc182 (patch)
treeb57df5977123af76410ffac223dc87bcf4760966 /media-sound
parentapp-arch/unrar: ppc64 stable (bug #738340) (diff)
downloadgentoo-3f350748216259e2f4e5b97fe3516e28cabbc182.tar.gz
gentoo-3f350748216259e2f4e5b97fe3516e28cabbc182.tar.bz2
gentoo-3f350748216259e2f4e5b97fe3516e28cabbc182.zip
media-sound/ardour: added gold linker warning to 6.2-r1
Bug: https://bugs.gentoo.org/733972 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/ardour/ardour-6.2-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/media-sound/ardour/ardour-6.2-r1.ebuild b/media-sound/ardour/ardour-6.2-r1.ebuild
index 97893a719d6..97e4502ac21 100644
--- a/media-sound/ardour/ardour-6.2-r1.ebuild
+++ b/media-sound/ardour/ardour-6.2-r1.ebuild
@@ -74,6 +74,11 @@ PATCHES=(
"${FILESDIR}/${P}-use-signed-int-for-atomic-operations.patch"
)
+pkg_pretend() {
+ [[ $(tc-getLD) == *gold* ]] && (has_version sci-libs/fftw[openmp] || has_version sci-libs/fftw[threads]) && \
+ ewarn "Linking with gold linker might produce broken executable, see bug #733972"
+}
+
pkg_setup() {
if has_version \>=dev-libs/libsigc++-2.6 ; then
append-cxxflags -std=c++11