We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clang -print-target-triple
clang --version
1 parent 501a5da commit c1d2d85Copy full SHA for c1d2d85
utils/swift_build_support/swift_build_support/products/product.py
@@ -352,7 +352,7 @@ def get_linux_target_components(self, arch):
352
vendor = 'unknown'
353
354
try:
355
- output = shell.capture(["clang", "--version"])
+ output = shell.capture([self.toolchain.cc, "--print-target-triple"])
356
357
# clang can't handle default `*-unknown-linux-*` components on Alpine,
358
# it needs special handling to propagate `vendor` and `abi` intact
0 commit comments