summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-15 01:26:04 +0000
committerdavidovski <david@davidovski.xyz>2022-01-15 01:26:04 +0000
commitd40722237ff79e6df29064ee83d0481d07425f9f (patch)
tree20dc17fc2a16aef5937e320454dc309172ccbd3b
parent7f88aca176af8d87ec5b46d68ca3a6ebfaf0e3aa (diff)
added libiberty to binutils
-rw-r--r--repo/core/binutils.xibuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/repo/core/binutils.xibuild b/repo/core/binutils.xibuild
index 96d2088..874257c 100644
--- a/repo/core/binutils.xibuild
+++ b/repo/core/binutils.xibuild
@@ -19,6 +19,7 @@ build () {
../configure --prefix=/usr \
--enable-gold \
--enable-ld=default \
+ --enable-install-libiberty \
--enable-plugins \
--enable-shared \
--disable-werror \
@@ -31,6 +32,7 @@ build () {
package() {
make -j1 DESTDIR=$PKG_DEST -j1 install
+ cp ../include/libiberty.h $PKG_DEST/usr/include
rm -fv $PKG_DEST/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a
}