summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2017-09-16 20:41:56 +0300
committerDmitry Shachnev <mitya57@gmail.com>2017-09-16 20:41:56 +0300
commit5debd0d17091e1ba63fa027ff64a7536cfaaba3e (patch)
tree7aae33abf6b68c715e8e551b707702b8dae4fd20
parentdc3470d23fc43399164547c1cd2e86e0dba23540 (diff)
downloadqt5webkit-5debd0d17091e1ba63fa027ff64a7536cfaaba3e.tar.gz
Build with -mfp32 on mips/mipsel, as LLInt uses odd float registers.
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules5
2 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index d0eaf89..86c2803 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ qtwebkit-opensource-src (5.212.0~alpha2-2) UNRELEASED; urgency=medium
* Use -g1 on less powerful architectures instead of no debug at all.
* Disable JIT on sh4, it is broken and support was removed upstream.
* Backport upstream patch to add libatomic detection, fixes armel build.
+ * Build with -mfp32 on mips/mipsel, as LLInt uses odd float registers.
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Wed, 13 Sep 2017 18:44:14 +0300
diff --git a/debian/rules b/debian/rules
index 53e71da..acd2533 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,11 @@ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),ppc64 ppc64el s390x))
export DEB_CXXFLAGS_MAINT_APPEND = -g1
endif
+# See https://github.com/annulen/webkit/issues/626
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU),mips mipsel))
+ export DEB_CXXFLAGS_MAINT_APPEND = -mfp32
+endif
+
# JIT is only supported on x86 / armhf / aarch64 / mips32
ifeq (,$(filter $(DEB_HOST_ARCH_CPU),amd64 arm64 armhf i386 mips mipsel))
EXTRA_CMAKE_ARGUMENTS += -DENABLE_JIT=OFF