2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 15:20:06 -07:00
repo/core/binutils/build
2019-07-13 10:15:56 +03:00

20 lines
330 B
Bash
Executable File

#!/bin/sh -e
machine=$(gcc -dumpmachine)
./configure \
--prefix=/usr \
--enable-targets=x86_64-pep \
--disable-multilib \
--disable-werror \
--disable-nls \
--with-mmap \
--build="$machine" \
--with-system-zlib
make
make DESTDIR="$1" install
# Remove all info files.
rm -rf "$1/usr/share/info"