1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-26 08:22:38 +03:00
Files
glibc/sysdeps/powerpc/preconfigure
Joseph Myers 3c8325fb47 Add e500 port.
2013-10-18 21:04:22 +00:00

12 lines
273 B
Plaintext

# 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