32 lines
634 B
Plaintext
32 lines
634 B
Plaintext
|
#!/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="$(cc -dumpmachine)" \
|
||
|
--enable-deterministic-archives \
|
||
|
--enable-gold \
|
||
|
--enable-lto \
|
||
|
--enable-ld=default \
|
||
|
--enable-plugins \
|
||
|
--disable-multilib \
|
||
|
--disable-werror \
|
||
|
--disable-gdb \
|
||
|
--disable-nls \
|
||
|
--disable-readline \
|
||
|
--disable-gprof \
|
||
|
--with-mmap \
|
||
|
--with-system-zlib
|
||
|
|
||
|
make configure-host
|
||
|
make tooldir=/usr
|
||
|
make DESTDIR="$1" tooldir=/usr install
|