summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-24 02:24:27 -0400
committerSam James <sam@gentoo.org>2024-03-24 06:56:36 +0000
commit375183c550610e3dd9ea8bcd65f756aa2dc2e983 (patch)
tree9f1dbe18a930a17ead6daa304d84a3bd3c64d555 /sci-libs
parentsci-libs/sundials: mark as LTO-unsafe (diff)
downloadgentoo-375183c550610e3dd9ea8bcd65f756aa2dc2e983.tar.gz
gentoo-375183c550610e3dd9ea8bcd65f756aa2dc2e983.tar.bz2
gentoo-375183c550610e3dd9ea8bcd65f756aa2dc2e983.zip
sci-libs/ta-lib: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/862936 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild b/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild
index 600814664e17..77a8dd512532 100644
--- a/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild
+++ b/sci-libs/ta-lib/ta-lib-0.4.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit autotools
+inherit autotools flag-o-matic
DESCRIPTION="Technical Analysis Library for analyzing financial markets trends"
HOMEPAGE="https://www.ta-lib.org/"
@@ -26,6 +26,15 @@ src_prepare() {
eautoreconf
}
+src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/862936
+ # Upstream is sourceforge plus has not been active since 2013. No bug filed.
+ filter-lto
+
+ default
+}
+
src_test() {
src/tools/ta_regtest/ta_regtest || die
}