changeset 446:a36524aced85

fix for systems where wine confuses the cross-compiling detection of ./configure
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 20 Sep 2009 13:56:19 +0200
parents 34c22b396c66
children 0da18d27453e
files src/gcc.mk
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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) \