glibc/sysdeps/tile/preconfigure

13 lines
287 B
Bash

# 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