mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-21 01:21:27 +00:00
Merge pull request #1233 from cpackham/fixup-arc-patch
glibc: arc: Don't interfere with other architectures
This commit is contained in:
commit
fdcfffebf6
@ -2290,16 +2290,16 @@ index 00000000000..1152a179c4a
|
||||
+arc*)
|
||||
+ base_machine=arc
|
||||
+ machine=arc
|
||||
+
|
||||
+ gccfloat=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | grep __ARC_FPU_| wc -l`
|
||||
+ if test "$gccfloat" != "0"; then
|
||||
+ echo "glibc being configured for double precision floating point"
|
||||
+ with_fp_cond=1
|
||||
+ else
|
||||
+ with_fp_cond=0
|
||||
+ fi
|
||||
+ ;;
|
||||
+esac
|
||||
+
|
||||
+gccfloat=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | grep __ARC_FPU_| wc -l`
|
||||
+if test "$gccfloat" != "0"; then
|
||||
+ echo "glibc being configured for double precision floating point"
|
||||
+ with_fp_cond=1
|
||||
+else
|
||||
+ with_fp_cond=0
|
||||
+fi
|
||||
diff --git a/sysdeps/arc/setjmp.S b/sysdeps/arc/setjmp.S
|
||||
new file mode 100644
|
||||
index 00000000000..518545a99e8
|
||||
|
Loading…
x
Reference in New Issue
Block a user