gcc: do_configure(): use reversed test to make set -e happy.

This commit is contained in:
Juan RP 2011-10-18 09:29:02 +02:00
parent 9f74307659
commit 79ff75ff20
1 changed files with 1 additions and 4 deletions

View File

@ -77,8 +77,6 @@ do_configure()
# Do not run fixincludes
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
# Some checks return non-zero exit status, so skip them for now.
set +e
CONFIG_SHELL=/bin/bash ./configure ${CONFIGURE_SHARED_ARGS} --libexecdir=/usr/lib \
--enable-clocale=gnu --disable-bootstrap --libdir=/usr/lib \
--enable-threads=posix --enable-__cxa_atexit --disable-multilib \
@ -89,9 +87,8 @@ do_configure()
--enable-lto --with-libelf=${XBPS_MASTERDIR}/usr \
--enable-linker-build-id --enable-gnu-unique-object \
--enable-checking=release
set -e
[ -n "$BOOTSTRAP_PKG_REBUILD" ] && export PATH=$SAVEDPATH
[ -z "$BOOTSTRAP_PKG_REBUILD" ] || export PATH=$SAVEDPATH
}
do_build()