pass in both HOST and BUILD to depends system, needed for deterministic builds

This commit is contained in:
David Mercer 2016-10-19 19:37:37 -07:00
parent 1ead1bb0b3
commit 33118f63b9
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ fi
# BUG: parameterize the platform/host directory:
PREFIX="$(pwd)/depends/x86_64-unknown-linux-gnu/"
make "$@" -C ./depends/ V=1 NO_QT=1
HOST=x86_64-unknown-linux-gnu BUILD=x86_64-unknown-linux-gnu make "$@" -C ./depends/ V=1 NO_QT=1
./autogen.sh
./configure --prefix="${PREFIX}" --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --with-gui=no "$HARDENING_ARG" "$LCOV_ARG" CXXFLAGS='-fwrapv -fno-strict-aliasing -Werror -g'
make "$@" V=1