[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/gpg4win/scripts/debian-xcompile
From:       Andre Heinecke <aheinecke () intevation ! de>
Date:       2012-12-06 10:28:05
Message-ID: 20121206102805.2FC89AC867 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1327563 by aheinecke:

- Fix build on 32bit systems with a 64 bit kernel 
- Add NICENESS and MAKE_JOBS variables


 M  +6 -1      10-build-qt.sh  


--- branches/work/gpg4win/scripts/debian-xcompile/10-build-qt.sh #1327562:1327563
@@ -16,6 +16,11 @@
 cd_mk_or_die "$QT_NATIVE_BUILD"
 
 QT_FLAGS_ACTUAL="$QT_NATIVE_FLAGS -make libs -make tools -prefix $PWD -no-pch"
+
+if [ "`dpkg-architecture -qDEB_HOST_ARCH`" = "i386" ]; then
+    QT_FLAGS_ACTUAL="$QT_FLAGS_ACTUAL -platform linux-g++-32"
+fi
+
 for i in $QT_NATIVE_EXCLUDE ; do
     QT_FLAGS_ACTUAL="$QT_FLAGS_ACTUAL -no-$i"
 done
@@ -25,4 +30,4 @@
 
 yes yes | run "Configuring native Qt build" "$QT_SRC/configure" $QT_FLAGS_ACTUAL
 
-run "Building minimal native Qt" make
+run "Building minimal native Qt" $NICENESS make -j$MAKE_JOBS
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic