changeset 947:d19d21103127

wine fix for package libgomp (by Tony Theodore)
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 10 May 2010 13:03:46 +0200
parents 35a9e556c82c
children 6ff524e4163c
files src/libgomp.mk
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/libgomp.mk	Sun May 09 23:21:01 2010 +0200
+++ b/src/libgomp.mk	Mon May 10 13:03:46 2010 +0200
@@ -18,6 +18,9 @@
 endef
 
 define $(PKG)_BUILD
+    # wine confuses the cross-compiling detection, so set it explicitly
+    $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/libgomp/configure'
+
     mkdir -p '$(1)/build/$(TARGET)/libgomp'
     cd       '$(1)/build/$(TARGET)/libgomp' && '$(1)/libgomp/configure' \
         --host='$(TARGET)' \