]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2013-01-15 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jan 2013 15:54:05 +0000 (15:54 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jan 2013 15:54:05 +0000 (15:54 +0000)
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

gcc/ChangeLog
gcc/system.h

index cb85e0bee36f6d86e6bb50c000606a5409a7612b..1a44b1777f27df5ad79d7e3f21aa3c499c45f2f5 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-15  Richard Biener  <rguenther@suse.de>
+
+       PR bootstrap/55961
+       * system.h: Do not include gmp.h for building host tools.
+
 2013-01-15  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/55882
index fbf1f11d85b6356aed810cec248405ba9df1dd8e..41cd565538aecb039afea67a1f959df96cfa0c5b 100644 (file)
@@ -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"