| ... | @@ -45,8 +45,7 @@ pub fn requiresPIC(target: std.Target, linking_libc: bool) bool { | ... | @@ -45,8 +45,7 @@ pub fn requiresPIC(target: std.Target, linking_libc: bool) bool { |
| 45 | return target.isAndroid() or | 45 | return target.isAndroid() or |
| 46 | target.os.tag == .windows or target.os.tag == .uefi or | 46 | target.os.tag == .windows or target.os.tag == .uefi or |
| 47 | osRequiresLibC(target) or | 47 | osRequiresLibC(target) or |
| 48 | (linking_libc and target.isGnuLibC()) or | 48 | (linking_libc and target.isGnuLibC()); |
| 49 | (target.cpu.arch == .aarch64 and target.abi == .ohos); | | |
| 50 | } | 49 | } |
| 51 | | 50 | |
| 52 | pub fn picLevel(target: std.Target) u32 { | 51 | pub fn picLevel(target: std.Target) u32 { |