| author | |
| committer | |
| log | 39abcc303c471c0180cdb0f5dce4303bbbe45362 |
| tree | a050d71f2413d81b18c609052b676a01f2395acb |
| parent | c9e67e71c146d9a9c217d3f47e75258a1ffeedd9 |
| signature | Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM |
Let's not implicitly rely on whatever Clang's default is.1 files changed, 2 insertions(+), 2 deletions(-)
src/Compilation.zig+2-2| ... | ... | @@ -5628,8 +5628,8 @@ pub fn addCCArgs( |
| 5628 | 5628 | try argv.append("-mthumb"); |
| 5629 | 5629 | } |
| 5630 | 5630 | |
| 5631 | if (target_util.supports_fpic(target) and mod.pic) { | |
| 5632 | try argv.append("-fPIC"); | |
| 5631 | if (target_util.supports_fpic(target)) { | |
| 5632 | try argv.append(if (mod.pic) "-fPIC" else "-fno-PIC"); | |
| 5633 | 5633 | } |
| 5634 | 5634 | |
| 5635 | 5635 | try argv.ensureUnusedCapacity(2); |