summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2014-09-04 20:59:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-04 21:19:16 +0200
commit0017dca1c149c2ac7048720b202e2a44988a5e27 (patch)
treed52fdee7a40811766ebb3da886be38406df38ba3 /Makefile
parent4a0ae6ec1840db71b31c1231122dfa8eb2223da4 (diff)
port OpenADK to a Debian/x32 host
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 021970245..f0dc67194 100644
--- a/Makefile
+++ b/Makefile
@@ -191,7 +191,9 @@ NO_ERROR=0
echo "GMAKE:=$$(which gmake)" >>prereq.mk ;\
fi
@echo "GNU_HOST_NAME:=$$(${CC} -dumpmachine)" >>prereq.mk
- @echo "ARCH_FOR_BUILD:=$$(${CC} -dumpmachine | sed -e s'/-.*//' \
+ @echo "ARCH_FOR_BUILD:=$$(${CC} -dumpmachine | sed \
+ -e 's/x86_64-linux-gnux32/x32/' \
+ -e s'/-.*//' \
-e 's/sparc.*/sparc/' \
-e 's/armeb.*/armeb/g' \
-e 's/arm.*/arm/g' \