From: Hans Wennborg Date: Wed, 18 Sep 2019 14:12:59 +0000 (+0000) Subject: Follow-up to r372209: Use single quotes for host_ldflags in the lit config X-Git-Tag: llvmorg-11-init~8912 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40fdacbf4c9ab40fe41b9c4cb2a2d45fc57d4d0e;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/llvm/test/lit.site.cfg.py.in b/llvm/test/lit.site.cfg.py.in index 39096a80e7e0..c7e5748e867f 100644 --- a/llvm/test/lit.site.cfg.py.in +++ b/llvm/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@