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
This commit is contained in:
Alex Kiernan 2018-02-14 21:03:18 +00:00 committed by Atomic Bot
parent 0041a7a1ed
commit 8dd68fb9f9
1 changed files with 1 additions and 1 deletions

View File

@ -519,7 +519,7 @@ AC_ARG_WITH(static-compiler,
AS_HELP_STRING([--with-static-compiler], AS_HELP_STRING([--with-static-compiler],
[Use the given compiler to build ostree-prepare-root statically linked (default: no)]),, [Use the given compiler to build ostree-prepare-root statically linked (default: no)]),,
[with_static_compiler=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) AC_SUBST(STATIC_COMPILER, $with_static_compiler)
dnl for tests (but we can't use asan with gjs or any introspection, dnl for tests (but we can't use asan with gjs or any introspection,