aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/patches-4.14/103-powerpc-fix-build-cross32ar.patch
blob: 7ed52f649c4e8eff68461cec9cbde1cacf0ac143 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -23,6 +23,7 @@ CROSS32AR		:= $(CROSS32_COMPILE)ar
 ifeq ($(HAS_BIARCH),y)
 ifeq ($(CROSS32_COMPILE),)
 CROSS32CC	:= $(CC) -m32
+CROSS32AR	:= $(AR)
 KBUILD_ARFLAGS	+= --target=elf32-powerpc
 endif
 endif