summary refs log tree commit diff
path: root/sysdeps/tile/preconfigure
blob: dfe050cc6d018e676714014a16c96702c8c3e18c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# This is a -*- sh -*-
case "$machine" in
    tilepro)
	base_machine=tile machine=tile/tilepro ;;
    tilegx)
	base_machine=tile
	if $CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | grep -q __LP64__; then
	    machine=tile/tilegx/tilegx64
	else
	    machine=tile/tilegx/tilegx32
	fi ;;
esac