summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2022-09-09 04:23:31 -0400
committerMike Frysinger <vapier@gentoo.org>2022-09-09 04:23:38 -0400
commit07aad3b2c6a3a12be810c8e510a9acbddb34dc14 (patch)
treea4c81f5cd2bd13db3e2b0858d56147dee4089fd5
parentsys-devel/bc: enable LFS flags #471102 (diff)
downloadgentoo-07aad3b2c6a3a12be810c8e510a9acbddb34dc14.tar.gz
gentoo-07aad3b2c6a3a12be810c8e510a9acbddb34dc14.tar.bz2
gentoo-07aad3b2c6a3a12be810c8e510a9acbddb34dc14.zip
sys-devel/bc: fix building with USE=libedit #738602
Closes: https://bugs.gentoo.org/738602 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--sys-devel/bc/bc-1.07.1-r5.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-devel/bc/bc-1.07.1-r5.ebuild b/sys-devel/bc/bc-1.07.1-r5.ebuild
index f9c1a2daa3e..259b7a10890 100644
--- a/sys-devel/bc/bc-1.07.1-r5.ebuild
+++ b/sys-devel/bc/bc-1.07.1-r5.ebuild
@@ -45,6 +45,9 @@ src_configure() {
fi
use static && append-ldflags -static
+ # The libedit code isn't compatible currently. #830101
+ use libedit && append-flags -fcommon
+
# AC_SYS_LARGEFILE in configure.ac would handle this, but we don't patch
# autotools otherwise currently. This change has been sent upstream, but
# who knows when they'll make another release.