From 8dd68fb9f9c0cdc8fb8090eebd06265836e55bfc Mon Sep 17 00:00:00 2001 From: Alex Kiernan Date: Wed, 14 Feb 2018 21:03:18 +0000 Subject: [PATCH] Fix static-compiler when CC includes args Ensure arguments are quoted so that if you include args in CC that they're handled as a whole. Closes: #1454 Approved by: cgwalters --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6c19e041..34a6d0bb 100644 --- a/configure.ac +++ b/configure.ac @@ -519,7 +519,7 @@ AC_ARG_WITH(static-compiler, AS_HELP_STRING([--with-static-compiler], [Use the given compiler to build ostree-prepare-root statically linked (default: no)]),, [with_static_compiler=no]) -AM_CONDITIONAL(BUILDOPT_USE_STATIC_COMPILER, test x$with_static_compiler != xno) +AM_CONDITIONAL(BUILDOPT_USE_STATIC_COMPILER, test "x$with_static_compiler" != xno) AC_SUBST(STATIC_COMPILER, $with_static_compiler) dnl for tests (but we can't use asan with gjs or any introspection,