about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--config.h.in6
-rw-r--r--glibcbug.in4
3 files changed, 13 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 008b554958..66435308d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-16  Ulrich Drepper  <drepper@redhat.com>
+
+	* glibcbug.in: Fix little typo.  Remove STDIO.
+
+	* config.h.in: Fail if __FAST_MATH__ is defined.
+
 2002-07-15  Ulrich Drepper  <drepper@redhat.com>
 
 	* intl/tst-gettext.sh: Pass -f option to msgfmt.
diff --git a/config.h.in b/config.h.in
index 34e3547431..5bafd13a6e 100644
--- a/config.h.in
+++ b/config.h.in
@@ -2,6 +2,12 @@
 # error "glibc cannot be compiled without optimization"
 #endif
 
+/* Another evil option when it comes to compiling the C library is
+   --ffast-math since it alters the ABI.  */
+#ifdef __FAST_MATH__
+# error "glibc must not be compiled with -ffast-math"
+#endif
+
 /* Define if using GNU ld, with support for weak symbols in a.out,
    and for symbol set and warning messages extensions in a.out and ELF.
    This implies HAVE_WEAK_SYMBOLS; set by --with-gnu-ld.  */
diff --git a/glibcbug.in b/glibcbug.in
index b83e2bd475..37123b603f 100644
--- a/glibcbug.in
+++ b/glibcbug.in
@@ -21,11 +21,10 @@ BUILD_PROFILE="@profile@"
 BUILD_OMITFP="@omitfp@"
 BUILD_BOUNDED="@bounded@"
 BUILD_STATIC_NSS="@static_nss@"
-STDIO="@stdio@"
 
 TEMP=`mktemp -q ${TMPDIR-/tmp}/glibcbugXXXXXX 2>/dev/null`
 if test $? -ne 0; then
-  TEMP={$TMPDIR-/tmp}/glibcbug.$$
+  TEMP=${TMPDIR-/tmp}/glibcbug.$$
   echo > $TEMP
   chmod 600 $TEMP
 fi
@@ -163,7 +162,6 @@ ${ORGANIZATION- $ORGANIZATION_C}
 `[ -n "$BUILD_OMITFP" ] && echo Build omitfp: $BUILD_OMITFP`
 `[ -n "$BUILD_BOUNDED" ] && echo Build bounded: $BUILD_BOUNDED`
 `[ -n "$BUILD_STATIC_NSS" ] && echo Build static-nss: $BUILD_STATIC_NSS`
-`[ -n "$STDIO" ] && echo Stdio: $STDIO`
 
 >Description:
 	$DESCRIPTION_C