提交 ec28eb29 编写于 作者: E Eric Blake

autobuild.sh: use VPATH build

Try to avoid future regressions on the VPATH front.

* autobuild.sh: Uncomment VPATH use.
* .gitignore: Exclude build directory.
上级 7e1dd7e0
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
/autom4te.cache /autom4te.cache
/build-aux /build-aux
/build-aux/ /build-aux/
/build/
/config.cache /config.cache
/config.guess /config.guess
/config.h /config.h
......
...@@ -11,11 +11,11 @@ test -n "$1" && RESULTS=$1 || RESULTS=results.log ...@@ -11,11 +11,11 @@ test -n "$1" && RESULTS=$1 || RESULTS=results.log
test -f Makefile && make -k distclean || : test -f Makefile && make -k distclean || :
rm -rf coverage rm -rf coverage
#rm -rf build rm -rf build
#mkdir build mkdir build
#cd build cd build
./autogen.sh --prefix="$AUTOBUILD_INSTALL_ROOT" \ ../autogen.sh --prefix="$AUTOBUILD_INSTALL_ROOT" \
--enable-test-coverage \ --enable-test-coverage \
--enable-compile-warnings=error --enable-compile-warnings=error
...@@ -66,7 +66,7 @@ if [ -x /usr/bin/i686-pc-mingw32-gcc ]; then ...@@ -66,7 +66,7 @@ if [ -x /usr/bin/i686-pc-mingw32-gcc ]; then
PKG_CONFIG_PATH="$AUTOBUILD_INSTALL_ROOT/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig" \ PKG_CONFIG_PATH="$AUTOBUILD_INSTALL_ROOT/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig" \
CC="i686-pc-mingw32-gcc" \ CC="i686-pc-mingw32-gcc" \
./configure \ ../configure \
--build=$(uname -m)-pc-linux \ --build=$(uname -m)-pc-linux \
--host=i686-pc-mingw32 \ --host=i686-pc-mingw32 \
--prefix="$AUTOBUILD_INSTALL_ROOT/i686-pc-mingw32/sys-root/mingw" \ --prefix="$AUTOBUILD_INSTALL_ROOT/i686-pc-mingw32/sys-root/mingw" \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册