diff options
| author | Linux User <emmett@vmi2195005.contaboserver.net> | 2025-04-14 01:35:12 +0000 |
|---|---|---|
| committer | Linux User <emmett@vmi2195005.contaboserver.net> | 2025-04-14 01:35:12 +0000 |
| commit | 595101c9e63eae025157878b14577acb3fef0b3b (patch) | |
| tree | 9878022974c9d8b274c999d693e466b23cfb2fdd /repos/archive/binutils/abuild | |
| parent | 73d7a925b4ad5bb64b17506acdf1600a12d55d47 (diff) | |
| download | alicelinux-595101c9e63eae025157878b14577acb3fef0b3b.tar.gz alicelinux-595101c9e63eae025157878b14577acb3fef0b3b.zip | |
clang repos migrated to main
Diffstat (limited to 'repos/archive/binutils/abuild')
| -rw-r--r-- | repos/archive/binutils/abuild | 31 |
1 files changed, 31 insertions, 0 deletions
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 +} |