glibc/sysdeps/powerpc/preconfigure

12 lines
273 B
Plaintext
Raw Normal View History

2013-10-18 23:03:40 +02:00
# Check for e500.
case "$machine" in
powerpc)
$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null > conftest.i
if grep -q __NO_FPRS__ conftest.i && ! grep -q _SOFT_FLOAT conftest.i; then
base_machine=powerpc machine=powerpc/powerpc32/e500
fi
rm -f conftest.i
;;
esac