Skip to content

Commit d4a60fd

Browse files
googlewaltaokblast
authored andcommitted
[asm][ie86-x86-64] Fix build error (llvm#164532)
Fixes llvm#164453.
1 parent 5ed5ffa commit d4a60fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/builtins/assembly.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@
337337
#endif
338338
#endif
339339

340-
#if defined(__i386__) || defined(__amd64__)
340+
#if defined(__ASSEMBLER__) && (defined(__i386__) || defined(__amd64__))
341341
.att_syntax
342342
#endif
343343

0 commit comments

Comments
 (0)