# HG changeset patch # User Volker Grabsch # Date 1254604741 -7200 # Node ID 2402e62b091d1643b6a46a1b320cd6914964c8f8 # Parent 5ba19c633370697cc8a7924238a22955f5773145 strip the disturbing '#include "config.h"' from pthread.h diff -r 5ba19c633370 -r 2402e62b091d src/gcc.mk --- a/src/gcc.mk Sat Oct 03 23:04:13 2009 +0200 +++ b/src/gcc.mk Sat Oct 03 23:19:01 2009 +0200 @@ -78,6 +78,7 @@ # unpack and build pthreads (needed by libgomp) cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,gcc-pthreads) $(SED) '35i\#define PTW32_STATIC_LIB' -i '$(1)/$(gcc-pthreads_SUBDIR)/pthread.h' + $(SED) 's,#include "config.h",,' -i '$(1)/$(gcc-pthreads_SUBDIR)/pthread.h' $(MAKE) -C '$(1)/$(gcc-pthreads_SUBDIR)' -j 1 GC-static CROSS='$(TARGET)-' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' $(INSTALL) -m664 '$(1)/$(gcc-pthreads_SUBDIR)/libpthreadGC2.a' '$(PREFIX)/$(TARGET)/lib/libpthread.a'