Allow build-system programs to be built without optimization.

This commit is contained in:
Joseph Myers 2012-04-27 18:54:52 +00:00
parent 60c8fca7ab
commit 28aeeda452
2 changed files with 6 additions and 1 deletions

View File

@ -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]

View 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