public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/vineet/arc-glibc-2.30-time_t-32-bit] glibc: arc: Don't interfere with other architectures
@ 2020-07-16 21:51 Vineet Gupta
0 siblings, 0 replies; only message in thread
From: Vineet Gupta @ 2020-07-16 21:51 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=57414962d42b1e7e65baa86d05913d7a5a5e8393
commit 57414962d42b1e7e65baa86d05913d7a5a5e8393
Author: Chris Packham <judge.packham@gmail.com>
Date: Wed Sep 4 19:59:07 2019 -0700
glibc: arc: Don't interfere with other architectures
Fixes: crosstool-ng#1227
Adjust the ARC patch so that it only sets with_fp_cond when the machine
is arc.
foss-for-synopsys-dwc-arc-processors/glibc#7
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diff:
---
sysdeps/arc/preconfigure | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/sysdeps/arc/preconfigure b/sysdeps/arc/preconfigure
index 1152a179c4..d9c5429f40 100644
--- a/sysdeps/arc/preconfigure
+++ b/sysdeps/arc/preconfigure
@@ -1,14 +1,15 @@
case "$machine" in
arc*)
- base_machine=arc
- machine=arc
- ;;
-esac
+ 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
+ ;;
-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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-16 21:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 21:51 [glibc/vineet/arc-glibc-2.30-time_t-32-bit] glibc: arc: Don't interfere with other architectures Vineet Gupta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).