diff options
author | Ørjan Malde <red@foxi.me> | 2023-02-16 14:19:56 +0100 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2023-02-16 14:19:56 +0100 |
commit | d84cb660ff367f68465fe18fab5cd2151d73eaa5 (patch) | |
tree | 855f1e967a6bfb498e88565959b5e8bb2ae90bfc /patches/clang_host/clang-0006-Link-with-z-now-by-default-for-Alpine-Linux.patch | |
parent | f6761e9430f9908d8183210f91ed80b9b85815dc (diff) | |
download | midipix_build-d84cb660ff367f68465fe18fab5cd2151d73eaa5.tar.bz2 midipix_build-d84cb660ff367f68465fe18fab5cd2151d73eaa5.tar.xz |
groups/010.host_deps.group: drop {llvm,clang}_host
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches/clang_host/clang-0006-Link-with-z-now-by-default-for-Alpine-Linux.patch')
-rw-r--r-- | patches/clang_host/clang-0006-Link-with-z-now-by-default-for-Alpine-Linux.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/patches/clang_host/clang-0006-Link-with-z-now-by-default-for-Alpine-Linux.patch b/patches/clang_host/clang-0006-Link-with-z-now-by-default-for-Alpine-Linux.patch deleted file mode 100644 index a7ad2d8c..00000000 --- a/patches/clang_host/clang-0006-Link-with-z-now-by-default-for-Alpine-Linux.patch +++ /dev/null @@ -1,28 +0,0 @@ -From e089ab63916eada060fdfffbf7422c9b20bafe84 Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Tue, 23 Feb 2016 10:08:17 +0000 -Subject: [PATCH 6/7] Link with -z now by default for Alpine Linux - ---- - lib/Driver/ToolChains.cpp | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp -index 82449bf..1a8ebf5 100644 ---- a/lib/Driver/ToolChains.cpp -+++ b/lib/Driver/ToolChains.cpp -@@ -3671,6 +3671,11 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) - - Distro Distro = DetectDistro(D, Arch); - -+ if (Distro == AlpineLinux) { -+ ExtraOpts.push_back("-z"); -+ ExtraOpts.push_back("now"); -+ } -+ - if (IsOpenSUSE(Distro) || IsUbuntu(Distro) || Distro == AlpineLinux) { - ExtraOpts.push_back("-z"); - ExtraOpts.push_back("relro"); --- -2.7.3 - |