From: Ken Hornstein Date: Sun, 28 Jul 2019 01:22:12 +0000 (-0400) Subject: Reorder configure options to be before variables X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/9779a9db4316e2348eb120c716acc41e6b12a849?hp=476a6ffe0e92478020f4a1c320a4076acc2f58c9 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. --- 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