Commit 5183171
committed
[compiler-rt] Fix building for arm64ec
c208a23 added the directive
`.att_syntax` when building for x86 architectures. However,
when building for arm64ec (a Windows target, for an ABI compatible
with x86_64), the defines for `__x86_64__` (and similar ones like
`__amd64__`) are still defined, so we need to check for
`__arm64ec__` here as well to skip it for such targets.
This matches similar existing ifdefs for x86_64/aarch64 in compiler-rt
builtins.1 parent e83eee3 commit 5183171
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| |||
0 commit comments