2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 03:00:10 -07:00
repo/core/binutils/build
2023-05-01 19:26:40 -05:00

36 lines
702 B
Bash
Executable File

#!/bin/sh -e
cat > makeinfo <<EOF
#!/bin/sh
printf 'makeinfo (GNU texinfo) 5.2\n'
EOF
chmod +x makeinfo
export PATH="$PATH:$PWD"
./configure \
--prefix=/usr \
--with-lib-path=/usr/lib:/usr/local/lib \
--enable-targets=x86_64-pep \
--enable-deterministic-archives \
--enable-gold \
--enable-lto \
--enable-ld=default \
--enable-plugins \
--disable-multilib \
--disable-werror \
--disable-gdb \
--disable-nls \
--disable-readline \
--disable-gprof \
--disable-gprofng \
--with-mmap \
--with-system-zlib \
--without-zstd
make configure-host
make tooldir=/usr
make tooldir=/usr DESTDIR="$1" install
ln -sf ld.bfd "$1/usr/bin/ld"