From 8a989129d6203edb576b9566f6511ec035203321 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 16 Jul 2002 18:15:34 +0000 Subject: Update. 2002-07-16 Ulrich Drepper * glibcbug.in: Fix little typo. Remove STDIO. * config.h.in: Fail if __FAST_MATH__ is defined. --- config.h.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.h.in') 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. */ -- cgit v1.2.3