diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 12:22:53 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 12:22:53 +0000 |
commit | 0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5 (patch) | |
tree | da8498e1eab2464b06117337cb0b7c87322e6ed1 /chunks/qt4-tools.morph | |
parent | 10dda889872542b8f261555c139791ff34eec9b1 (diff) | |
download | definitions-0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5.tar.gz |
Add chunk morphologies to definitions repositorybaserock/adamcoldrick/chunks-in-definitions-by-kind
Diffstat (limited to 'chunks/qt4-tools.morph')
-rw-r--r-- | chunks/qt4-tools.morph | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chunks/qt4-tools.morph b/chunks/qt4-tools.morph new file mode 100644 index 00000000..e3cb332c --- /dev/null +++ b/chunks/qt4-tools.morph @@ -0,0 +1,20 @@ +name: qt4-tools +kind: chunk +repo: upstream:qt4-tools +ref: a182f020bc1703c20d86ba18f2f6b4ea8889de84 +max-jobs: 1 +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" |