summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-04-27 18:54:52 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-04-27 18:54:52 +0000
commit28aeeda45228bdd02c23df3a9d26bc42af4aae77 (patch)
treedb78d49d4ed0c6a89df74fdf66307dbb677c8c90 /config.h.in
parent60c8fca7abfd470d2a65051bbe23a9a8749bb3fc (diff)
Allow build-system programs to be built without optimization.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in
index 3b938f8013..81704a1ff6 100644
--- a/config.h.in
+++ b/config.h.in
@@ -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