Dmitry V. Levin | 690235a | 2015-11-26 16:07:57 +0000 | [diff] [blame] | 1 | #!/bin/sh -e |
| 2 | |
| 3 | j=-j`getconf _NPROCESSORS_ONLN 2> /dev/null` || j= |
| 4 | set -x |
| 5 | git fetch --unshallow |
| 6 | ./git-set-file-times |
Dmitry V. Levin | c9d2501 | 2015-11-30 22:18:16 +0000 | [diff] [blame^] | 7 | case "${TARGET-}" in |
| 8 | x32) |
| 9 | CC="$CC -mx32" |
| 10 | ;; |
| 11 | x86) |
| 12 | export DISTCHECK_CONFIGURE_FLAGS='--build=i686-pc-linux-gnu' |
| 13 | CC="$CC -m32" |
| 14 | ;; |
| 15 | esac |
| 16 | export CC_FOR_BUILD="$CC" |
Dmitry V. Levin | 690235a | 2015-11-26 16:07:57 +0000 | [diff] [blame] | 17 | ./bootstrap |
Dmitry V. Levin | c9d2501 | 2015-11-30 22:18:16 +0000 | [diff] [blame^] | 18 | ./configure --enable-maintainer-mode ${ENABLE_GCC_WERROR-} ${DISTCHECK_CONFIGURE_FLAGS-} |
| 19 | make -k $j distcheck VERBOSE=${VERBOSE-} |