From a64930636462bf24118ca7266f699ce2b696e821 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Thu, 10 Apr 2025 07:26:30 +0800 Subject: clang branch updated --- repos/archive/binutils/abuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 repos/archive/binutils/abuild (limited to 'repos/archive/binutils/abuild') diff --git a/repos/archive/binutils/abuild b/repos/archive/binutils/abuild new file mode 100644 index 00000000..62a2b577 --- /dev/null +++ b/repos/archive/binutils/abuild @@ -0,0 +1,31 @@ +name=binutils +version=2.44 +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