summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2014-05-27 11:40:28 +0200
committerTomasz Olszak <olszak.tomasz@gmail.com>2014-10-04 17:36:30 +0200
commit8f16552f81b16515581b30121038dbb2073dc503 (patch)
treed1a9ec3041b1c7c1a70375634437fa811929f67e
parent2a4e22517da83318e3d64805650b5082a1b6dd2f (diff)
downloadqtbase-8f16552f81b16515581b30121038dbb2073dc503.tar.gz
qtbase-8f16552f81b16515581b30121038dbb2073dc503.tar.bz2
qtbase-8f16552f81b16515581b30121038dbb2073dc503.zip
packaging: hotfix - removal of -mfpu-neon
painting/qdrawhelper.cpp didn't compile without this. Change-Id: I71606cd420c9596ebd534a789d2cf4e5c0ee7e56 Bug-Tizen: TIVI-2416 Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-rw-r--r--packaging/qt5.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/qt5.spec b/packaging/qt5.spec
index 2e6ebd5219..34f7c9ba53 100644
--- a/packaging/qt5.spec
+++ b/packaging/qt5.spec
@@ -575,6 +575,13 @@ cp %{SOURCE1001} .
%build
touch .git
+%if "%{profile}" == "common"
+%ifarch %arm armv7l %{aarch64}
+export CFLAGS="$(echo $CFLAGS| sed 's/-mfpu=neon//gi')"
+export CXXFLAGS="$(echo $CXXFLAGS| sed 's/-mfpu=neon//gi')"
+%endif
+%endif
+
MAKEFLAGS=%{?_smp_mflags} \
./configure --disable-static \
-confirm-license \