summary refs log tree commit diff
path: root/config.h.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-09-12 08:14:34 +0000
committerUlrich Drepper <drepper@redhat.com>2001-09-12 08:14:34 +0000
commitd322efa8e5240e4cc22b224e606e10dfe9678b31 (patch)
tree9303b65227e31679816551d3c80c8af52e5fd0fc /config.h.in
parent57642a78929e35d58c25f416f523670effdc0f70 (diff)
downloadglibc-d322efa8e5240e4cc22b224e606e10dfe9678b31.tar.gz
glibc-d322efa8e5240e4cc22b224e606e10dfe9678b31.tar.xz
glibc-d322efa8e5240e4cc22b224e606e10dfe9678b31.zip
Update.
2001-09-12  Ulrich Drepper  <drepper@redhat.com>

	* config.h.in: Enforce optimization to be used.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 1761f9975d..84c20a9f7e 100644
--- a/config.h.in
+++ b/config.h.in
@@ -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.  */