Skip to content

Commit 3cae3f5

Browse files
committed
Don't quote -target cmdline opt to TARGET_SWIFTFLAGS
The double quote marks are preserved in this makefile setting, so the -target <triple> command line option & value are passed as a single word, which is not recognized by swiftc, when running the testsuite against environments where we need to specify the target value. Not normally used when running the testsuite on a native system.
1 parent 61d3748 commit 3cae3f5

File tree

1 file changed

+1
-1
lines changed
  • lldb/packages/Python/lldbsuite/test/builders

1 file changed

+1
-1
lines changed

lldb/packages/Python/lldbsuite/test/builders/darwin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def getSwiftTargetFlags(self, arch):
122122
if vendor is None or os is None or version is None or env is None:
123123
return []
124124
return [
125-
'TARGET_SWIFTFLAGS="-target {}-{}-{}{}{}"'.format(
125+
'TARGET_SWIFTFLAGS=-target {}-{}-{}{}{}'.format(
126126
arch, vendor, os, version, (("-" + env) if env else ""))
127127
]
128128

0 commit comments

Comments
 (0)