Mercurial > mxe-octave
changeset 456:2402e62b091d
strip the disturbing '#include "config.h"' from pthread.h
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 03 Oct 2009 23:19:01 +0200 |
parents | 5ba19c633370 |
children | cf3e49c48268 |
files | src/gcc.mk |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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'