summaryrefslogtreecommitdiff
path: root/user/clang/secure-plt.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-09 08:49:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-09 08:49:31 +0000
commitb79f8579da399c966de9b729d310f7caf9e60fc3 (patch)
tree575bf5622732e2aa4168824785eacd5583ad4b67 /user/clang/secure-plt.patch
parent2faa2a984fc0903db72fc3903422c91cbe00020e (diff)
downloadpackages-b79f8579da399c966de9b729d310f7caf9e60fc3.tar.gz
packages-b79f8579da399c966de9b729d310f7caf9e60fc3.tar.bz2
packages-b79f8579da399c966de9b729d310f7caf9e60fc3.tar.xz
packages-b79f8579da399c966de9b729d310f7caf9e60fc3.zip
user/clang: bump to 8.0.1
Diffstat (limited to 'user/clang/secure-plt.patch')
-rw-r--r--user/clang/secure-plt.patch4
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;