commit | 1ef3ce91c70cb6a536438132d3202ccb3eddadbc | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Wed Jul 19 17:56:56 2017 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Wed Jul 19 17:56:56 2017 +0200 |
tree | bebcd096d8d3dc7ecd29559a19d3d5e23d2146df | |
parent | 61f9d76ec597bc93fa54950632a9cdb54997f0cc [diff] [blame] |
sparc: needs -fPIC Pinted out by Thomas Petazzoni. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/Makefile b/Makefile index 0a5f869..c756dfe 100644 --- a/Makefile +++ b/Makefile
@@ -178,7 +178,7 @@ # 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