From 5dc924b7ffd3236351eb8a4aff287514ea3bfe3a Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Wed, 18 Sep 2019 14:12:59 +0000 Subject: [PATCH] Follow-up to r372209: Use single quotes for host_ldflags in the lit config HOST_LDFLAGS is now using double quotes, and that would break the lit config file. llvm-svn: 372226 --- test/lit.site.cfg.py.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/lit.site.cfg.py.in b/test/lit.site.cfg.py.in index 39096a80e7e..c7e5748e867 100644 --- a/test/lit.site.cfg.py.in +++ b/test/lit.site.cfg.py.in @@ -29,7 +29,8 @@ config.llvm_bindings = "@LLVM_BINDINGS@".split(' ') config.host_os = "@HOST_OS@" config.host_cc = "@HOST_CC@" config.host_cxx = "@HOST_CXX@" -config.host_ldflags = "@HOST_LDFLAGS@" +# Note: ldflags can contain double-quoted paths, so must use single quotes here. +config.host_ldflags = '@HOST_LDFLAGS@' config.llvm_use_intel_jitevents = @LLVM_USE_INTEL_JITEVENTS@ config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@" config.have_zlib = @HAVE_LIBZ@