1 |
commit: 3f350748216259e2f4e5b97fe3516e28cabbc182 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 7 18:54:46 2020 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 7 18:54:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f350748 |
7 |
|
8 |
media-sound/ardour: added gold linker warning to 6.2-r1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/733972 |
11 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
media-sound/ardour/ardour-6.2-r1.ebuild | 5 +++++ |
15 |
1 file changed, 5 insertions(+) |
16 |
|
17 |
diff --git a/media-sound/ardour/ardour-6.2-r1.ebuild b/media-sound/ardour/ardour-6.2-r1.ebuild |
18 |
index 97893a719d6..97e4502ac21 100644 |
19 |
--- a/media-sound/ardour/ardour-6.2-r1.ebuild |
20 |
+++ b/media-sound/ardour/ardour-6.2-r1.ebuild |
21 |
@@ -74,6 +74,11 @@ PATCHES=( |
22 |
"${FILESDIR}/${P}-use-signed-int-for-atomic-operations.patch" |
23 |
) |
24 |
|
25 |
+pkg_pretend() { |
26 |
+ [[ $(tc-getLD) == *gold* ]] && (has_version sci-libs/fftw[openmp] || has_version sci-libs/fftw[threads]) && \ |
27 |
+ ewarn "Linking with gold linker might produce broken executable, see bug #733972" |
28 |
+} |
29 |
+ |
30 |
pkg_setup() { |
31 |
if has_version \>=dev-libs/libsigc++-2.6 ; then |
32 |
append-cxxflags -std=c++11 |