diff options
Diffstat (limited to 'extra/qt/PKGBUILD')
-rw-r--r-- | extra/qt/PKGBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/extra/qt/PKGBUILD b/extra/qt/PKGBUILD index 0610b2920..1bb8ceb2b 100644 --- a/extra/qt/PKGBUILD +++ b/extra/qt/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=qt pkgname=('qt' 'qt-private-headers') pkgver=4.7.4 pkgrel=3 -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,12 @@ build() { export PATH=${QT4DIR}/bin:${PATH} export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH} +# Disable precompiled headers for mips64el + [ "$CARCH" = "mips64el" ] && { + export CXXFLAGS="$CXXFLAGS -fpermissive" + extra="-no-pch" + } + # FS#24601 export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" @@ -81,7 +87,7 @@ build() { -gtkstyle \ -opengl \ -no-openvg \ - -glib + -glib $extra make } |