summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r1.ebuild (renamed from sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217.ebuild)6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217.ebuild b/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r1.ebuild
index d91cc784c825..fc7e2d49571b 100644
--- a/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217.ebuild
+++ b/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools bash-completion-r1 vcs-snapshot
+inherit autotools bash-completion-r1 flag-o-matic vcs-snapshot
COMMIT="a61f1780b64266587e7bc30f0f5f71c6cca97c0f"
@@ -40,6 +40,10 @@ src_prepare() {
}
src_configure() {
+ # false positive TEXTRELs on riscv
+ # https://bugs.gentoo.org/797355
+ append-flags -fPIC
+
econf \
$(use_enable lzma) \
$(use_enable zlib)