From 326fc65e66254869ca0307cf7e5acc119f0f3df7 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 10 Mar 2017 15:39:18 +1300 Subject: [PATCH] Add environment variable for setting ./configure flags in zcutil/build.sh Closes #2066. --- zcutil/build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zcutil/build.sh b/zcutil/build.sh index 17f023991..6b142990c 100755 --- a/zcutil/build.sh +++ b/zcutil/build.sh @@ -41,6 +41,11 @@ if [[ -z "${CXX-}" ]]; then CXX=g++ fi +# Allow users to set arbitary compile flags. Most users will not need this. +if [[ -z "${CONFIGURE_FLAGS-}" ]]; then + CONFIGURE_FLAGS="" +fi + if [ "x$*" = 'x--help' ] then cat <