2019-05-18 16:06:11 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2019-07-13 07:15:56 +00:00
|
|
|
machine=$(gcc -dumpmachine)
|
|
|
|
|
2019-05-18 16:06:11 +00:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-targets=x86_64-pep \
|
|
|
|
--disable-multilib \
|
|
|
|
--disable-werror \
|
|
|
|
--disable-nls \
|
|
|
|
--with-mmap \
|
2019-07-13 07:15:56 +00:00
|
|
|
--build="$machine" \
|
2019-05-18 16:06:11 +00:00
|
|
|
--with-system-zlib
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|
2019-06-18 08:48:13 +00:00
|
|
|
|
|
|
|
# Remove all info files.
|
|
|
|
rm -rf "$1/usr/share/info"
|