From 9779a9db4316e2348eb120c716acc41e6b12a849 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Sat, 27 Jul 2019 21:22:12 -0400 Subject: [PATCH 1/1] Reorder configure options to be before variables Reorder the configure options generated by build_nmh so they will be before the variables, otherwise they end up IN things like CFLAGS. Fixes bug #56680. --- build_nmh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_nmh b/build_nmh index 468e5fe2..ce35594d 100755 --- a/build_nmh +++ b/build_nmh @@ -380,8 +380,8 @@ if [ -z "$CFLAGS" ]; then fi fi -printf "\n./configure ${CFLAGS:+CFLAGS=\"${CFLAGS}\" }$config_opts\n" -./configure ${CFLAGS:+CFLAGS="${CFLAGS}"" "}$config_opts +printf "\n./configure $config_opts ${CFLAGS:+CFLAGS=\"${CFLAGS}\" }\n" +./configure $config_opts ${CFLAGS:+CFLAGS="${CFLAGS}"" "} status=$? if [ $status -eq 0 ]; then -- 2.48.1