This was added to help clang compile busybox but since then the option has been added to llvm and now we have upgraded clang to 3.8 which has this option available
Signed-off-by: Khem Raj <raj.k...@gmail.com> --- .../busybox/0002-Passthrough-r-to-linker.patch | 32 ---------------------- meta/recipes-core/busybox/busybox_1.24.1.bb | 1 - 2 files changed, 33 deletions(-) delete mode 100644 meta/recipes-core/busybox/busybox/0002-Passthrough-r-to-linker.patch 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 de286fb..0000000 --- a/meta/recipes-core/busybox/busybox/0002-Passthrough-r-to-linker.patch +++ /dev/null @@ -1,32 +0,0 @@ -From df2cc76cdebc4773361477f3db203790f6986e3b Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.k...@gmail.com> -Date: Sat, 22 Aug 2015 23:42:40 -0700 -Subject: [PATCH 2/2] Passthrough -r to linker - -clang does not have -r switch and it does not pass it down to linker -either, LDFLAGS_RELOCATABLE is used when CC is used for LD, so this -should not cause side effects - -Signed-off-by: Khem Raj <raj.k...@gmail.com> ---- -Upstream-Status: Pending - - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 9da02cb..10dd4a9 100644 ---- a/Makefile -+++ b/Makefile -@@ -309,7 +309,7 @@ CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise $(C - MODFLAGS = -DMODULE - CFLAGS_MODULE = $(MODFLAGS) - AFLAGS_MODULE = $(MODFLAGS) --LDFLAGS_RELOCATABLE = -r -nostdlib -+LDFLAGS_RELOCATABLE = -Xlinker -r -nostdlib - LDFLAGS_MODULE = $(LDFLAGS_RELOCATABLE) - CFLAGS_KERNEL = - AFLAGS_KERNEL = --- -2.1.4 - diff --git a/meta/recipes-core/busybox/busybox_1.24.1.bb b/meta/recipes-core/busybox/busybox_1.24.1.bb index 174ca47..bdaa5a5 100644 --- a/meta/recipes-core/busybox/busybox_1.24.1.bb +++ b/meta/recipes-core/busybox/busybox_1.24.1.bb @@ -29,7 +29,6 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ file://recognize_connmand.patch \ file://busybox-cross-menuconfig.patch \ file://0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch \ - file://0002-Passthrough-r-to-linker.patch \ file://busybox-1.24.1-unzip.patch \ file://busybox-1.24.1-unzip-regression.patch \ file://busybox-1.24.1-truncate-open-mode.patch \ -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core