summaryrefslogtreecommitdiff
path: root/packages/sys-kernel/linux-sources-redcore-lts/files/0002-objtool-dont-hardcore-ar.patch
blob: 120af65ba9eb6f66610a34e893f5c502d11f1f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur a/tools/objtool/Makefile b/tools/objtool/Makefile
--- a/tools/objtool/Makefile	2018-08-18 09:48:00.000000000 +0100
+++ b/tools/objtool/Makefile	2018-10-16 17:35:49.186328088 +0100
@@ -11,7 +11,7 @@
 HOSTLD	?= ld
 CC	 = $(HOSTCC)
 LD	 = $(HOSTLD)
-AR	 = ar
+AR	 ?= ar
 
 ifeq ($(srctree),)
 srctree := $(patsubst %/,%,$(dir $(CURDIR)))