changeset 2735:485231b507aa

package qt: use new unified mkspec for cross building The regular win32-g++* mkspecs now support cross bulding. No need to use unsupported/win32-g++-cross anymore.
author Mark Brand <mabrand@mabrand.nl>
date Tue, 11 Sep 2012 22:34:40 +0200
parents ffdcd0f515bc
children b28cc3e50c33
files src/qt.mk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/qt.mk	Mon Sep 03 17:13:09 2012 +0200
+++ b/src/qt.mk	Tue Sep 11 22:34:40 2012 +0200
@@ -18,7 +18,6 @@
 
 define $(PKG)_BUILD
     cd '$(1)' && QTDIR='$(1)' ./bin/syncqt
-
     cd '$(1)' && \
         OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \
         PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl` -lws2_32" \
@@ -27,7 +26,8 @@
         -opensource \
         -confirm-license \
         -fast \
-        -xplatform unsupported/win32-g++-4.6-cross \
+        -xplatform win32-g++-4.6 \
+        -device-option CROSS_COMPILE=$(TARGET)- \
         -force-pkg-config \
         -release \
         -exceptions \