PR bootstrap/64575
* configure.host (TARGET): Set to X86_64 if __x86_64__ is defined.
From-SVN: r219539
+2015-01-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR bootstrap/64575
+ * configure.host (TARGET): Set to X86_64 if __x86_64__ is defined.
+
2015-01-12 Richard Henderson <rth@redhat.com>
PR libffi/64572
TARGET=X86_64
;;
*)
- TARGET=X86
+ echo 'int foo (void) { return __x86_64__; }' > conftest.c
+ if $CC $CFLAGS -Werror -S conftest.c -o conftest.s > /dev/null 2>&1; then
+ TARGET=X86_64;
+ else
+ TARGET=X86;
+ fi
+ rm -f conftest.*
;;
esac
else