From 239ced844ea434e623686094af3de168f90e4391 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Thu, 13 Jun 2024 00:25:03 +0800 Subject: repos updated --- repos/core/binutils/abuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 repos/core/binutils/abuild (limited to 'repos/core/binutils/abuild') diff --git a/repos/core/binutils/abuild b/repos/core/binutils/abuild new file mode 100644 index 00000000..2f73b3c5 --- /dev/null +++ b/repos/core/binutils/abuild @@ -0,0 +1,31 @@ +name=binutils +version=2.42 +release=1 +source="https://sourceware.org/pub/$name/releases/$name-$version.tar.xz" + +build() { + sed -i 's/\(^INFO_DEPS *=\).*/\1/' bfd/Makefile.in + sed -i 's/\(^INFO_DEPS *=\).*/\1/' gas/Makefile.in + + mkdir build + cd build + + ../configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-gold \ + --enable-ld=default \ + --enable-lto \ + --enable-plugins \ + --enable-shared \ + --disable-werror \ + --with-system-zlib \ + --disable-multilib \ + --disable-gdb \ + --disable-gprof \ + --disable-gprofng \ + --without-zstd \ + --with-lib-path=/usr/lib:/lib + make DESTDIR=$PKG tooldir=/usr + make DESTDIR=$PKG tooldir=/usr install +} -- cgit v1.2.3