From 48a593967434a3af379ac7f55476fa704087cb0e Mon Sep 17 00:00:00 2001 From: David Levine Date: Tue, 21 Feb 2017 10:31:57 -0500 Subject: [PATCH] Echo CFLAGS in configure line, and only include if set. --- build_nmh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_nmh b/build_nmh index 6958faa8..e1f04a88 100755 --- a/build_nmh +++ b/build_nmh @@ -373,8 +373,8 @@ if [ -z "$CFLAGS" ]; then fi fi -printf '\n./configure %s\n' "$config_opts" -./configure CFLAGS="${CFLAGS}" $config_opts +printf "\n./configure ${CFLAGS:+CFLAGS=\"${CFLAGS}\" }$config_opts\n" +./configure ${CFLAGS:+CFLAGS="${CFLAGS}" }$config_opts status=$? if [ $status -eq 0 ]; then -- 2.56.0