Skip to content

Commit 40fdacb

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. llvm-svn: 372226
1 parent 858a1ae commit 40fdacb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/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)