aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-09-10 22:30:57 +0000
committerAlan Modra <amodra@gmail.com>2012-09-10 22:30:57 +0000
commit00716ab17456adb467b1c9da399da5d0f8a74ae9 (patch)
tree967517d383bffc290865033c756c50dbdc165f73 /ld
parent2fa15f237df903f4809733afee950f955559fbf7 (diff)
downloadgdb-00716ab17456adb467b1c9da399da5d0f8a74ae9.zip
gdb-00716ab17456adb467b1c9da399da5d0f8a74ae9.tar.gz
gdb-00716ab17456adb467b1c9da399da5d0f8a74ae9.tar.bz2
* config.in: Disable sanity check for kfreebsd.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/config.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index bb4ff85..9641ccc 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2012-09-10 Matthias Klose <doko@ubuntu.com>
+
+ * config.in: Disable sanity check for kfreebsd.
+
2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
* configure: Regenerated.
diff --git a/ld/config.in b/ld/config.in
index 5fbc4a3..f4a8a23 100644
--- a/ld/config.in
+++ b/ld/config.in
@@ -2,7 +2,7 @@
/* Check that config.h is #included before system headers
(this works only for glibc, but that should be enough). */
-#if defined(__GLIBC__) && !defined(__CONFIG_H__)
+#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
# error config.h must be #included before system headers
#endif
#define __CONFIG_H__ 1