From 4dbeff63c748d0d4b6f92b73606222f4a6f21518 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 1 Feb 2010 00:19:49 -0800 Subject: [PATCH] Add ability to pass configure args to script. --- etc/run-three-stages | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/run-three-stages b/etc/run-three-stages index 5bccc7c48..ec22eb873 100755 --- a/etc/run-three-stages +++ b/etc/run-three-stages @@ -41,6 +41,8 @@ if ! [[ -d .git && -d src && -d etc ]]; then exit 1 fi +CONFIG_ARGS=("${@}") + # Hack for cph if which cpx > /dev/null; then : ${COPY:="cpx -sq"} @@ -70,7 +72,7 @@ run_stage () find_stage stage$((N-1)) rm -rf ${STAGE} ${COPY} src ${STAGE} - (set -e; cd ${STAGE}; ./Setup.sh; ./configure; make) + (set -e; cd ${STAGE}; ./Setup.sh; ./configure "${CONFIG_ARGS[@]}"; make) if ! [[ -f ${STAGE}/lib/all.com ]]; then echo "${STAGE} failed" exit 1 -- 2.25.1