aboutsummaryrefslogtreecommitdiff
blob: 2b9ad5ee735fe912ba613963d12a5ea1907126a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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 {