diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-15 15:54:05 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-15 15:54:05 +0000 |
commit | 21be23eb6d520315fd6fc61a207773664173abfd (patch) | |
tree | a92e74065f1854e027ae6d310ac8ad9f5f0a08ee /gcc/system.h | |
parent | 7deea7116aa99887d0a6524777c53e38015e1b50 (diff) | |
download | gcc-21be23eb6d520315fd6fc61a207773664173abfd.tar.gz |
2013-01-15 Richard Biener <rguenther@suse.de>
PR bootstrap/55961
* system.h: Do not include gmp.h for building host tools.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195205 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index fbf1f11d85b..41cd565538a 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -636,7 +636,10 @@ extern int vsnprintf(char *, size_t, const char *, va_list); #include <dlfcn.h> #endif +/* Do not introduce a gmp.h dependency on the build system. */ +#ifndef GENERATOR_FILE #include <gmp.h> +#endif /* Get libiberty declarations. */ #include "libiberty.h" |