aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libbpf/20-trailing-ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libbpf/20-trailing-ldflags.patch')
-rw-r--r--testing/libbpf/20-trailing-ldflags.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/testing/libbpf/20-trailing-ldflags.patch b/testing/libbpf/20-trailing-ldflags.patch
deleted file mode 100644
index 7f65ef5645..0000000000
--- a/testing/libbpf/20-trailing-ldflags.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/src/Makefile b/src/Makefile
-index e9021fe..1d86ecd 100644
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -54,11 +54,7 @@ INSTALL = install
-
- DESTDIR ?=
-
--ifeq ($(shell uname -m),x86_64)
-- LIBSUBDIR := lib64
--else
-- LIBSUBDIR := lib
--endif
-+LIBSUBDIR := lib
-
- PREFIX ?= /usr
- LIBDIR ?= $(PREFIX)/$(LIBSUBDIR)
-@@ -77,9 +73,9 @@ $(OBJDIR)/libbpf.so.$(VERSION): $(OBJDIR)/libbpf.so.$(LIBBPF_VERSION)
- ln -sf $(^F) $@
-
- $(OBJDIR)/libbpf.so.$(LIBBPF_VERSION): $(OBJS)
-- $(CC) -shared $(ALL_LDFLAGS) -Wl,--version-script=$(VERSION_SCRIPT) \
-+ $(CC) -shared -Wl,--version-script=$(VERSION_SCRIPT) \
- -Wl,-soname,libbpf.so.$(VERSION) \
-- $^ -o $@
-+ $^ -o $@ $(ALL_LDFLAGS)
-
- $(OBJDIR)/libbpf.pc:
- sed -e "s|@PREFIX@|$(PREFIX)|" \