Fix a silly oversight breaking cross compilation
-Erik
This commit is contained in:
parent
c9f20d9fb9
commit
08c358b604
@ -87,7 +87,7 @@ ARFLAGS:=-r
|
|||||||
#--------------------------------------------------------
|
#--------------------------------------------------------
|
||||||
export VERSION BUILDTIME TOPDIR HOSTCC HOSTCFLAGS CROSS CC AR AS LD NM STRIP CPP
|
export VERSION BUILDTIME TOPDIR HOSTCC HOSTCFLAGS CROSS CC AR AS LD NM STRIP CPP
|
||||||
ifeq ($(strip $(TARGET_ARCH)),)
|
ifeq ($(strip $(TARGET_ARCH)),)
|
||||||
TARGET_ARCH:=$(shell $(CC) -dumpmachine | sed -e s'/-.*//' \
|
TARGET_ARCH=$(shell $(CC) -dumpmachine | sed -e s'/-.*//' \
|
||||||
-e 's/i.86/i386/' \
|
-e 's/i.86/i386/' \
|
||||||
-e 's/sparc.*/sparc/' \
|
-e 's/sparc.*/sparc/' \
|
||||||
-e 's/arm.*/arm/g' \
|
-e 's/arm.*/arm/g' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user