summaryrefslogtreecommitdiffstats
path: root/src/qt.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2010-05-19 23:50:31 (GMT)
committerMark Brand <mabrand@mabrand.nl>2010-05-19 23:50:31 (GMT)
commit0d332f41f0366724d517a8ba71ec5def6fec2ccd (patch)
treeec38b3a90cc1d4d5b4aa9e1d0ce59d611b9112b5 /src/qt.mk
parent6bda72214d94fa58bc72ae92ed4e5ed4a1ebf1ec (diff)
downloadmxe-0d332f41f0366724d517a8ba71ec5def6fec2ccd.zip
mxe-0d332f41f0366724d517a8ba71ec5def6fec2ccd.tar.gz
mxe-0d332f41f0366724d517a8ba71ec5def6fec2ccd.tar.bz2
use correct options for arch and largefile for windows target of package qt
Previously we did not specify -arch, so the configure script used the host architecture as the default. This worked as long as the host and target architectures matched. That's why we had to force it with -host-arch i386 to make it work on 64 bit hosts. The correct value "windows" may have different properties than i386, but this has not be researched. In any case "windows" is the value use by the binary executable configure tool for windows. Additionally, the configure script did not respect -arch when cross-building on MAC. Now CFG_ARCH is set automatically to windows to cover this case. Also, "-largefile" is not appropriate for Windows. Now specify "-no-largefile" to avoid defintions meant for Unix. Windows apparently still has its largefile support.
Diffstat (limited to 'src/qt.mk')
-rw-r--r--src/qt.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qt.mk b/src/qt.mk
index 79abbc0..565efe9 100644
--- a/src/qt.mk
+++ b/src/qt.mk
@@ -102,10 +102,11 @@ define $(PKG)_BUILD
-opensource \
-confirm-license \
-xplatform win32-g++ \
+ -arch windows \
+ -little-endian \
-host-arch i386 \
-host-little-endian \
- -little-endian \
- -largefile \
+ -no-largefile \
-force-pkg-config \
-release \
-exceptions \