summaryrefslogtreecommitdiffstats
path: root/src/fltk.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/fltk.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/fltk.mk')
-rw-r--r--src/fltk.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fltk.mk b/src/fltk.mk
index 631f2a9..28741bb 100644
--- a/src/fltk.mk
+++ b/src/fltk.mk
@@ -22,10 +22,9 @@ endef
define $(PKG)_BUILD
cd '$(1)' && autoconf
$(SED) -i 's,\$$uname,MINGW,g' '$(1)/configure'
- # wine confuses the cross-compiling detection, so set it explicitly
- $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
+ --build='$(BUILD)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
--enable-threads \