summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Jorna <wraeth@gentoo.org>2021-07-04 12:58:34 +1000
committerSam Jorna <wraeth@gentoo.org>2021-07-04 12:58:34 +1000
commitf9577541a2ffa66f62ad5d734bc228d11825effc (patch)
tree1045abcb559d80b6e10e2687def50280b2c2996f /sys-apps
parentnet-irc/limnoria-plugins-progval: remove old (diff)
downloadgentoo-f9577541a2ffa66f62ad5d734bc228d11825effc.tar.gz
gentoo-f9577541a2ffa66f62ad5d734bc228d11825effc.tar.bz2
gentoo-f9577541a2ffa66f62ad5d734bc228d11825effc.zip
sys-apps/the_silver_searcher: append -fPIC, #797355
Closes: https://bugs.gentoo.org/797355 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sam Jorna <wraeth@gentoo.org>
Diffstat (limited to 'sys-apps')
-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)