Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 6040e78

Browse files
author
Matthias Koeppe
committed
build/pkgs/tachyon/spkg-install.in: Use $CC -dumpmachine, not uname, to recognize 32bit build
1 parent e1beffb commit 6040e78

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build/pkgs/tachyon/spkg-install.in

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ case "$UNAME" in
1717
TARGET=bsd
1818
;;
1919
"Linux")
20-
case "`uname -m`" in
21-
i[3456]86)
20+
case "$($CC -dumpmachine)" in
21+
i[3456]86*)
2222
TARGET=linux-thr
2323
;;
24-
ia64)
24+
ia64*)
2525
TARGET=linux-ia64-thr
2626
;;
27-
amd64|x86_64)
27+
amd64*|x86_64*)
2828
TARGET=linux-64-thr
2929
;;
3030
ppc*|powerpc*)
3131
TARGET=linux-ppc
3232
;;
33-
armv6l|armv7l)
33+
armv6l*|armv7l*)
3434
TARGET=linux-arm-thr
3535
;;
3636
esac

0 commit comments

Comments
 (0)