configure.host: define shared ix86 and x86_64 directory

Add a directory libc/machine/shared_x86 to share header files
between ix86 and x86_64 architectures.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2021-03-24 10:35:28 +01:00
parent 80bd01ef83
commit c326ca1615
1 changed files with 4 additions and 4 deletions

View File

@ -196,15 +196,14 @@ case "${host_cpu}" in
machine_dir=i960
;;
i[34567]86)
libm_machine_dir=i386
machine_dir=i386
shared_machine_dir=shared_x86
# Don't use for these since they provide their own setjmp.
case ${host} in
*-*-sco* | *-*-cygwin*)
libm_machine_dir=i386
machine_dir=i386
;;
*)
libm_machine_dir=i386
machine_dir=i386
mach_add_setjmp=true
;;
esac
@ -361,6 +360,7 @@ case "${host_cpu}" in
x86_64)
machine_dir=x86_64
libm_machine_dir=x86_64
shared_machine_dir=shared_x86
;;
xc16x*)
machine_dir=xc16x