aboutsummaryrefslogtreecommitdiff
blob: 28942ae5791c1333b6377bb2ac44df6f67bbbf5c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/lib/Driver/ToolChains/Linux.cpp
+++ b/lib/Driver/ToolChains/Linux.cpp
@@ -210,7 +210,7 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)

   Distro Distro(D.getVFS());

-  if (Distro.IsAlpineLinux()) {
+  if (Distro.IsAlpineLinux() || Distro.IsGentooLinux()) {
     ExtraOpts.push_back("-z");
     ExtraOpts.push_back("now");
   }