summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/qt/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/qt/PKGBUILD b/extra/qt/PKGBUILD
index 89e96034f..5667acde8 100644
--- a/extra/qt/PKGBUILD
+++ b/extra/qt/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=qt
pkgname=('qt' 'qt-private-headers')
pkgver=4.7.3
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://qt.nokia.com/'
license=('GPL3' 'LGPL')
makedepends=('libtiff' 'libpng' 'libmng' 'sqlite3' 'ca-certificates' 'glib2' 'dbus'
@@ -32,6 +32,11 @@ build() {
export PATH=${QT4DIR}/bin:${PATH}
export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH}
+ if [ "$CARCH" = "mips64el" ] ; then
+ export CFLAGS="$CFLAGS -fpermissive"
+ export CXXFLAGS="$CXXFLAGS -fpermissive"
+ fi
+
cd $srcdir/$_pkgfqn
# Already fixed upstream