Mercurial > mxe-octave
comparison src/libgomp.mk @ 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 | 5d47a5e4b43a |
children | a4fdc19d981a |
comparison
equal
deleted
inserted
replaced
946:35a9e556c82c | 947:d19d21103127 |
---|---|
16 define $(PKG)_UPDATE | 16 define $(PKG)_UPDATE |
17 echo $(gcc_VERSION) | 17 echo $(gcc_VERSION) |
18 endef | 18 endef |
19 | 19 |
20 define $(PKG)_BUILD | 20 define $(PKG)_BUILD |
21 # wine confuses the cross-compiling detection, so set it explicitly | |
22 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/libgomp/configure' | |
23 | |
21 mkdir -p '$(1)/build/$(TARGET)/libgomp' | 24 mkdir -p '$(1)/build/$(TARGET)/libgomp' |
22 cd '$(1)/build/$(TARGET)/libgomp' && '$(1)/libgomp/configure' \ | 25 cd '$(1)/build/$(TARGET)/libgomp' && '$(1)/libgomp/configure' \ |
23 --host='$(TARGET)' \ | 26 --host='$(TARGET)' \ |
24 --target='$(TARGET)' \ | 27 --target='$(TARGET)' \ |
25 --prefix='$(PREFIX)' \ | 28 --prefix='$(PREFIX)' \ |