aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/clang/files/6.0.0/hardened/0003-Enable-PIE-by-default.patch')
-rw-r--r--sys-devel/clang/files/6.0.0/hardened/0003-Enable-PIE-by-default.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys-devel/clang/files/6.0.0/hardened/0003-Enable-PIE-by-default.patch b/sys-devel/clang/files/6.0.0/hardened/0003-Enable-PIE-by-default.patch
deleted file mode 100644
index 2b9ad5e..0000000
--- a/sys-devel/clang/files/6.0.0/hardened/0003-Enable-PIE-by-default.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/lib/Driver/ToolChains/Linux.cpp
-+++ b/lib/Driver/ToolChains/Linux.cpp
-@@ -816,8 +816,7 @@ void Linux::AddIAMCUIncludeArgs(const ArgList &DriverArgs,
- }
-
- bool Linux::isPIEDefault() const {
-- return (getTriple().isAndroid() && !getTriple().isAndroidVersionLT(16)) ||
-- getTriple().isMusl() || getSanitizerArgs().requiresPIE();
-+ return true;
- }
-
- unsigned Linux::GetDefaultStackProtectorLevel(bool KernelOrKext) const {