From c326ca1615ea08ebbc11c61dd3248c82df232637 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 24 Mar 2021 10:35:28 +0100 Subject: 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 --- newlib/configure.host | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'newlib/configure.host') diff --git a/newlib/configure.host b/newlib/configure.host index aae09bfa3..38fec0597 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -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 -- cgit v1.2.3