Allow build-system programs to be built without optimization.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 27 Apr 2012 18:54:52 +0000 (18:54 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 27 Apr 2012 18:54:52 +0000 (18:54 +0000)
ChangeLog
config.h.in

index e6eb858..54db43d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-27  Joseph Myers  <joseph@codesourcery.com>
+
+       * config.h.in [IS_IN_build]: Allow compiling without optimization.
+
 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
 
        [BZ #887]
index 3b938f8..81704a1 100644 (file)
@@ -1,4 +1,5 @@
-#if !defined __ASSEMBLER__ && !defined _ISOMAC && !defined __OPTIMIZE__
+#if !defined IS_IN_build && !defined __ASSEMBLER__ && !defined _ISOMAC \
+    && !defined __OPTIMIZE__
 # error "glibc cannot be compiled without optimization"
 #endif