diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-04-10 07:26:30 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-04-10 07:26:30 +0800 |
| commit | a64930636462bf24118ca7266f699ce2b696e821 (patch) | |
| tree | 58d116ac5f03aa9e84ece6e4ffa6b489573042a4 /repos/archive/binutils/abuild | |
| parent | ddd8e1a8fab2ac39396282a7c09ddf6eca219613 (diff) | |
| download | alicelinux-a64930636462bf24118ca7266f699ce2b696e821.tar.gz alicelinux-a64930636462bf24118ca7266f699ce2b696e821.zip | |
clang branch updated
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 +} |