Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit cd206b7

Browse files
committed
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372226 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 07b40ea commit cd206b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/lit.site.cfg.py.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ config.llvm_bindings = "@LLVM_BINDINGS@".split(' ')
2929
config.host_os = "@HOST_OS@"
3030
config.host_cc = "@HOST_CC@"
3131
config.host_cxx = "@HOST_CXX@"
32-
config.host_ldflags = "@HOST_LDFLAGS@"
32+
# Note: ldflags can contain double-quoted paths, so must use single quotes here.
33+
config.host_ldflags = '@HOST_LDFLAGS@'
3334
config.llvm_use_intel_jitevents = @LLVM_USE_INTEL_JITEVENTS@
3435
config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
3536
config.have_zlib = @HAVE_LIBZ@

0 commit comments

Comments
 (0)