diff options
author | Eric Molitor <eric@molitor.org> | 2019-01-06 13:24:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-03-22 12:12:49 +0000 |
commit | 09ed5f798886f450d1c66f0af50111e54e3c8870 (patch) | |
tree | 2f35e0dae5a00d4c132ef62144868f2bb09b97be /main/clang/0006-Link-with-z-now-by-default-for-Alpine-Linux.patch | |
parent | 97b9b33cc972af740609863df4142c1e2a3238b8 (diff) | |
download | aports-09ed5f798886f450d1c66f0af50111e54e3c8870.tar.bz2 aports-09ed5f798886f450d1c66f0af50111e54e3c8870.tar.xz |
main/clang: upgrade to 7.0.1
Diffstat (limited to 'main/clang/0006-Link-with-z-now-by-default-for-Alpine-Linux.patch')
-rw-r--r-- | main/clang/0006-Link-with-z-now-by-default-for-Alpine-Linux.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/main/clang/0006-Link-with-z-now-by-default-for-Alpine-Linux.patch b/main/clang/0006-Link-with-z-now-by-default-for-Alpine-Linux.patch deleted file mode 100644 index a2bb49a6a6..0000000000 --- a/main/clang/0006-Link-with-z-now-by-default-for-Alpine-Linux.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 2c6ae087cddd8a53e264814e404db8f3c29e4e53 Mon Sep 17 00:00:00 2001 -From: Jakub Jirutka <jakub@jirutka.cz> -Date: Sun, 16 Apr 2017 16:49:00 +0100 -Subject: [PATCH 6/7] Link with -z now by default for Alpine Linux - ---- - lib/Driver/ToolChains/Linux.cpp | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/lib/Driver/ToolChains/Linux.cpp b/lib/Driver/ToolChains/Linux.cpp -index ce9cf35..1583c9d 100644 ---- a/lib/Driver/ToolChains/Linux.cpp -+++ b/lib/Driver/ToolChains/Linux.cpp -@@ -212,6 +212,11 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) - - Distro Distro(D.getVFS()); - -+ if (Distro.IsAlpineLinux()) { -+ ExtraOpts.push_back("-z"); -+ ExtraOpts.push_back("now"); -+ } -+ - if (Distro.IsOpenSUSE() || Distro.IsUbuntu() || Distro.IsAlpineLinux()) { - ExtraOpts.push_back("-z"); - ExtraOpts.push_back("relro"); --- -2.14.1 - |