summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox/0002-Passthrough-r-to-linker.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/busybox/0002-Passthrough-r-to-linker.patch')
-rw-r--r--meta/recipes-core/busybox/busybox/0002-Passthrough-r-to-linker.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-core/busybox/busybox/0002-Passthrough-r-to-linker.patch b/meta/recipes-core/busybox/busybox/0002-Passthrough-r-to-linker.patch
deleted file mode 100644
index de286fb746..0000000000
--- a/meta/recipes-core/busybox/busybox/0002-Passthrough-r-to-linker.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From df2cc76cdebc4773361477f3db203790f6986e3b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 22 Aug 2015 23:42:40 -0700
4Subject: [PATCH 2/2] Passthrough -r to linker
5
6clang does not have -r switch and it does not pass it down to linker
7either, LDFLAGS_RELOCATABLE is used when CC is used for LD, so this
8should not cause side effects
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12Upstream-Status: Pending
13
14 Makefile | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/Makefile b/Makefile
18index 9da02cb..10dd4a9 100644
19--- a/Makefile
20+++ b/Makefile
21@@ -309,7 +309,7 @@ CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise $(C
22 MODFLAGS = -DMODULE
23 CFLAGS_MODULE = $(MODFLAGS)
24 AFLAGS_MODULE = $(MODFLAGS)
25-LDFLAGS_RELOCATABLE = -r -nostdlib
26+LDFLAGS_RELOCATABLE = -Xlinker -r -nostdlib
27 LDFLAGS_MODULE = $(LDFLAGS_RELOCATABLE)
28 CFLAGS_KERNEL =
29 AFLAGS_KERNEL =
30--
312.1.4
32