From 1ef3ce91c70cb6a536438132d3202ccb3eddadbc Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 19 Jul 2017 17:56:56 +0200 Subject: sparc: needs -fPIC Pinted out by Thomas Petazzoni. Signed-off-by: Denys Vlasenko --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0a5f86929..c756dfeaf 100644 --- a/Makefile +++ b/Makefile @@ -178,7 +178,7 @@ endif # SUBARCH is subsequently ignored. ifneq ($(CROSS_COMPILE),) -SUBARCH := $(shell echo $(CROSS_COMPILE) | cut -d- -f1) +SUBARCH := $(shell echo $(CROSS_COMPILE) | cut -d- -f1 | sed 's:^.*/::g') else SUBARCH := $(shell uname -m) endif -- cgit v1.2.3