diff options
-rw-r--r-- | qt4-tools.morph | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/qt4-tools.morph b/qt4-tools.morph index 6e104d9f90..ae36b09599 100644 --- a/qt4-tools.morph +++ b/qt4-tools.morph @@ -1,15 +1,19 @@ -{ - "name": "qt4-tools", - "kind": "chunk", - "configure-commands": [ - "arch=$(uname -m); if [ \"${arch}\" != \"${arch//arm/}\" ]; then sed 's/g++-unix.conf)/&\nQMAKE_CXXFLAGS += -fno-strict-volatile-bitfields/' -i mkspecs/linux-g++/qmake.conf; else echo Running on x86, not modifying qmake.conf; fi", - "./configure -v -prefix /usr -opensource -confirm-license" - ], - "build-commands": [ - "make", - "LD_LIBRARY_PATH=$PWD/lib QT_PLUGIN_PATH=$PWD/plugins make docs" - ], - "install-commands": [ - "make install INSTALL_ROOT=$DESTDIR" - ] -} +name: qt4-tools +kind: chunk +# For building on ARM, gcc must be passed a -fno-strict-volatile-bitfields +# option. +configure-commands: +- | + arch=$(uname -m) + if [ "${arch}" != "${arch//arm/}" ] ; then + sed 's/g++-unix.conf)/&\nQMAKE_CXXFLAGS += -fno-strict-volatile-bitfields/' \ + -i mkspecs/linux-g++/qmake.conf + else + echo Running on x86, not modifying qmake.conf + fi +- ./configure -v -prefix /usr -opensource -confirm-license +build-commands: +- make +- LD_LIBRARY_PATH="$PWD"/lib QT_PLUGIN_PATH="$PWD"/plugins make docs +install-commands: +- make install INSTALL_ROOT="$DESTDIR" |