summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Thomas <james.thomas@codethink.co.uk>2013-06-18 17:21:13 +0100
committerRichard Dale <richard.dale@codethink.co.uk>2013-06-18 17:21:13 +0100
commita4ad084dc3abb2b8e99ff8311541b91872496512 (patch)
tree598f5c53fb804567d0c2a24469ea7ef81ecca24f
parent3d3c0298612dcda889b1cd42c62421814b17fdd5 (diff)
downloadqt4-tools-a4ad084dc3abb2b8e99ff8311541b91872496512.tar.gz
Building natively on arm requires an additional CXXFLAG
This is due to a problem with gcc 4.6.x, see: http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01477.html & https://lists.fedoraproject.org/pipermail/arm/2011-September/001964.html
-rw-r--r--qt4-tools.morph1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt4-tools.morph b/qt4-tools.morph
index b536224a1a..fc6ebc41e8 100644
--- a/qt4-tools.morph
+++ b/qt4-tools.morph
@@ -2,6 +2,7 @@
"name": "qt4-tools",
"kind": "chunk",
"configure-commands": [
+ "arch=$(uname -m) && [ \"${arch}\" != \"${arch//arm/}\" ] && sed 's/g++-unix.conf)/&\\nQMAKE_CXXFLAGS += -fno- strict-volatile-bitfields/' -i mkspecs/linux-g++/qmake.conf",
"./configure -v -prefix /usr -opensource -confirm-license"
],
"build-commands": [