summaryrefslogtreecommitdiffstats
path: root/src/ilmbase.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2011-11-26 15:30:36 (GMT)
committerMark Brand <mabrand@mabrand.nl>2011-11-26 15:30:36 (GMT)
commit3cce3e9b58dda736fbedbecc9e8449ce65b9f64c (patch)
tree9deb72d85d9efd293dc084f5fabb1bb7a7949d18 /src/ilmbase.mk
parentd5661822a8b541a03a7b8ea4eebccee33a7997f8 (diff)
downloadmxe-3cce3e9b58dda736fbedbecc9e8449ce65b9f64c.zip
mxe-3cce3e9b58dda736fbedbecc9e8449ce65b9f64c.tar.gz
mxe-3cce3e9b58dda736fbedbecc9e8449ce65b9f64c.tar.bz2
many packages: use --build instead of wine cross_compiling hack
Diffstat (limited to 'src/ilmbase.mk')
-rw-r--r--src/ilmbase.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ilmbase.mk b/src/ilmbase.mk
index 1747b9e..9d698e5 100644
--- a/src/ilmbase.mk
+++ b/src/ilmbase.mk
@@ -20,8 +20,6 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- # wine confuses the cross-compiling detection, so set it explicitly
- $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
# build the win32 thread sources instead of the posix thread sources
$(SED) -i 's,IlmThreadPosix\.,IlmThreadWin32.,' '$(1)/IlmThread/Makefile.in'
$(SED) -i 's,IlmThreadSemaphorePosix\.,IlmThreadSemaphoreWin32.,' '$(1)/IlmThread/Makefile.in'
@@ -31,6 +29,7 @@ define $(PKG)_BUILD
# threading. It will just disable the unwanted check for pthread.
cd '$(1)' && $(SHELL) ./configure \
--host='$(TARGET)' \
+ --build='$(BUILD)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
--disable-threading \