| ... | ... | @@ -54,8 +54,7 @@ pub fn libCxxNeedsLibUnwind(target: *const std.Target) bool { |
| 54 | 54 | |
| 55 | 55 | /// This function returns whether non-pic code is completely invalid on the given target. |
| 56 | 56 | pub fn requiresPic(target: *const std.Target, linking_libc: bool) bool { |
| 57 | | return target.abi.isAndroid() or |
| 58 | | ((target.os.tag == .windows or target.os.tag == .uefi) and (target.cpu.arch == .aarch64 or target.cpu.arch == .x86_64)) or |
| 57 | return ((target.os.tag == .windows or target.os.tag == .uefi) and (target.cpu.arch == .aarch64 or target.cpu.arch == .x86_64)) or |
| 59 | 58 | target.requiresLibC() or |
| 60 | 59 | (linking_libc and target.isGnuLibC()); |
| 61 | 60 | } |