# HG changeset patch # User Volker Grabsch # Date 1253447779 -7200 # Node ID a36524aced8509647f69cfeb26b37ca6c3b10e83 # Parent 34c22b396c66341ce8fcc9ed93ecf0040378b74b fix for systems where wine confuses the cross-compiling detection of ./configure diff -r 34c22b396c66 -r a36524aced85 src/gcc.mk --- a/src/gcc.mk Sun Sep 20 12:04:23 2009 +0200 +++ b/src/gcc.mk Sun Sep 20 13:56:19 2009 +0200 @@ -85,6 +85,7 @@ $(INSTALL) -m664 '$(1)/$(gcc-pthreads_SUBDIR)/sched.h' '$(PREFIX)/$(TARGET)/include/' $(INSTALL) -m664 '$(1)/$(gcc-pthreads_SUBDIR)/semaphore.h' '$(PREFIX)/$(TARGET)/include/' # build libgomp + $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/$(gcc-core_SUBDIR)/libgomp/configure' mkdir '$(1)/build/$(TARGET)/libgomp' cd '$(1)/build/$(TARGET)/libgomp' && '$(1)/$(gcc-core_SUBDIR)/libgomp/configure' \ $(gcc_CONFIGURE_OPTIONS) \