From: Darren Tucker Date: Thu, 7 Oct 2021 04:55:04 +0000 (+1100) Subject: Include relevant env vars on command line. X-Git-Tag: V_8_9_P1~233 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=482f73be10f10b93f818df19fcc8a912c0c371fc;p=thirdparty%2Fopenssh-portable.git Include relevant env vars on command line. Makes it easier to reproduce a build by cut/pasting the configure line. --- diff --git a/.github/configure.sh b/.github/configure.sh index e098730f0..502bf5f0d 100755 --- a/.github/configure.sh +++ b/.github/configure.sh @@ -2,5 +2,20 @@ . .github/configs $1 -set -x +printf "$ " + +if [ "x$CC" != "x" ]; then + printf "CC='$CC' " +fi +if [ "x$CFLAGS" != "x" ]; then + printf "CFLAGS='$CFLAGS' " +fi +if [ "x$CPPFLAGS" != "x" ]; then + printf "CPPFLAGS='$CPPFLAGS' " +fi +if [ "x$LDFLAGS" != "x" ]; then + printf "LDFLAGS='$LDFLAGS' " +fi + +echo ./configure ${CONFIGFLAGS} ./configure ${CONFIGFLAGS}