aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-19 17:56:56 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-19 17:56:56 +0200
commit1ef3ce91c70cb6a536438132d3202ccb3eddadbc (patch)
treebebcd096d8d3dc7ecd29559a19d3d5e23d2146df /Makefile
parent61f9d76ec597bc93fa54950632a9cdb54997f0cc (diff)
downloadbusybox-w32-1ef3ce91c70cb6a536438132d3202ccb3eddadbc.tar.gz
busybox-w32-1ef3ce91c70cb6a536438132d3202ccb3eddadbc.tar.bz2
busybox-w32-1ef3ce91c70cb6a536438132d3202ccb3eddadbc.zip
sparc: needs -fPIC
Pinted out by Thomas Petazzoni. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0a5f86929..c756dfeaf 100644
--- a/Makefile
+++ b/Makefile
@@ -178,7 +178,7 @@ endif
178# SUBARCH is subsequently ignored. 178# SUBARCH is subsequently ignored.
179 179
180ifneq ($(CROSS_COMPILE),) 180ifneq ($(CROSS_COMPILE),)
181SUBARCH := $(shell echo $(CROSS_COMPILE) | cut -d- -f1) 181SUBARCH := $(shell echo $(CROSS_COMPILE) | cut -d- -f1 | sed 's:^.*/::g')
182else 182else
183SUBARCH := $(shell uname -m) 183SUBARCH := $(shell uname -m)
184endif 184endif