Mercurial > hg > aboriginal
view sources/control-images/lfs-bootstrap/mnt/build/gmp.sh @ 1275:a4cb2ed0a551
Move sources/native-builds to sources/control-images, so the naming is consistent.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 07 Nov 2010 15:55:26 -0600 |
parents | sources/native-builds/lfs-bootstrap/mnt/build/gmp.sh@7a60afa1846c |
children |
line wrap: on
line source
#!/bin/sh # Doesn't work with uClibc++ yet. # [ ! -z "$(which c++)" ] && X="--enable-cxx" ./configure --prefix=/usr $X --enable-mpbsd && make -j $CPUS || exit 1 if [ ! -z "$CHECK" ] then make check 2>&1 | tee gmp-check-log awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log fi make install || exit 1 if [ ! -z "$DOCS" ] then mkdir -p /usr/share/doc/gmp-5.0.1 && cp doc/isa_abi_headache doc/connfiguration doc/*.html \ /usr/share/doc/gmp-5.0.1 fi