summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2019-09-18 14:12:59 +0000
committerHans Wennborg <hans@hanshq.net>2019-09-18 14:12:59 +0000
commit40fdacbf4c9ab40fe41b9c4cb2a2d45fc57d4d0e (patch)
treeb95e2f28244b303858274beabb32b5e46a144fb8
parent858a1ae37d260ae454751bbf5d74742138f10676 (diff)
downloadbcm5719-llvm-40fdacbf4c9ab40fe41b9c4cb2a2d45fc57d4d0e.tar.gz
bcm5719-llvm-40fdacbf4c9ab40fe41b9c4cb2a2d45fc57d4d0e.zip
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
-rw-r--r--llvm/test/lit.site.cfg.py.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/lit.site.cfg.py.in b/llvm/test/lit.site.cfg.py.in
index 39096a80e7e..c7e5748e867 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@
OpenPOWER on IntegriCloud