Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 12 Sep 2001 08:14:34 +0000 (08:14 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 12 Sep 2001 08:14:34 +0000 (08:14 +0000)
2001-09-12  Ulrich Drepper  <drepper@redhat.com>

* config.h.in: Enforce optimization to be used.

ChangeLog
config.h.in

index d7e6063..95e19cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-09-12  Ulrich Drepper  <drepper@redhat.com>
+
+       * config.h.in: Enforce optimization to be used.
+
 2001-09-11  Ulrich Drepper  <drepper@redhat.com>
 
        * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
index 1761f99..84c20a9 100644 (file)
@@ -1,3 +1,7 @@
+#ifndef __OPTIMIZE__
+# error "glibc cannot be compiled without optimization"
+#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.  */