From 00716ab17456adb467b1c9da399da5d0f8a74ae9 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 10 Sep 2012 22:30:57 +0000 Subject: * config.in: Disable sanity check for kfreebsd. --- gold/ChangeLog | 4 ++++ gold/config.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gold') diff --git a/gold/ChangeLog b/gold/ChangeLog index e481713..c7488ef 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2012-09-10 Matthias Klose + + * config.in: Disable sanity check for kfreebsd. + 2012-09-10 Sterling Augustine * gdb-index.cc (Gdb_index::pubnames_read): New parameter. diff --git a/gold/config.in b/gold/config.in index 3edc0d6..42252bf 100644 --- a/gold/config.in +++ b/gold/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 -- cgit v1.1