| ... | ... | @@ -384,6 +384,7 @@ fn addCcArgs( |
| 384 | 384 | try args.appendSlice(&[_][]const u8{ |
| 385 | 385 | "-std=c99", |
| 386 | 386 | "-ffreestanding", |
| 387 | "-fno-builtin", |
| 387 | 388 | "-fexcess-precision=standard", |
| 388 | 389 | "-frounding-math", |
| 389 | 390 | "-fno-strict-aliasing", |
| ... | ... | @@ -422,6 +423,10 @@ fn addCcArgs( |
| 422 | 423 | "-Qunused-arguments", |
| 423 | 424 | "-w", // disable all warnings |
| 424 | 425 | }); |
| 426 | |
| 427 | if (target.cpu.arch.isThumb()) { |
| 428 | try args.append("-mimplicit-it=always"); |
| 429 | } |
| 425 | 430 | } |
| 426 | 431 | |
| 427 | 432 | fn start_asm_path(comp: *Compilation, arena: Allocator, basename: []const u8) ![]const u8 { |