Commit 25ee7b0ea8
Changed files (1)
src
src/target.zig
@@ -45,8 +45,7 @@ pub fn requiresPIC(target: std.Target, linking_libc: bool) bool {
return target.isAndroid() or
target.os.tag == .windows or target.os.tag == .uefi or
osRequiresLibC(target) or
- (linking_libc and target.isGnuLibC()) or
- (target.cpu.arch == .aarch64 and target.abi == .ohos);
+ (linking_libc and target.isGnuLibC());
}
pub fn picLevel(target: std.Target) u32 {