diff options
Diffstat (limited to 'user/clang/secure-plt.patch')
-rw-r--r-- | user/clang/secure-plt.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user/clang/secure-plt.patch b/user/clang/secure-plt.patch index a92071e52..670e845c2 100644 --- a/user/clang/secure-plt.patch +++ b/user/clang/secure-plt.patch @@ -4,8 +4,8 @@ const ArgList &Args) { if (Args.getLastArg(options::OPT_msecure_plt)) return ppc::ReadGOTPtrMode::SecurePlt; -- if (Triple.isOSOpenBSD()) -+ if (Triple.isOSOpenBSD() || Triple.isMusl()) +- if (Triple.isOSNetBSD() || Triple.isOSOpenBSD()) ++ if (Triple.isOSNetBSD() || Triple.isOSOpenBSD() || Triple.isMusl()) return ppc::ReadGOTPtrMode::SecurePlt; else return ppc::ReadGOTPtrMode::Bss; |