Set TARGET to X86_64 if __x86_64__ is defined
PR bootstrap/64575 * configure.host (TARGET): Set to X86_64 if __x86_64__ is defined. From-SVN: r219539
This commit is contained in:
parent
be723d1e73
commit
ff8ebda16a
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -100,7 +100,13 @@ case "${host}" in
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue