aboutsummaryrefslogtreecommitdiff
path: root/src/target.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/target.zig')
-rw-r--r--src/target.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target.zig b/src/target.zig
index 25129a6224..95c9798f65 100644
--- a/src/target.zig
+++ b/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 {