temporarily support armv4
This commit is contained in:
parent
9cf65ae007
commit
56266f6601
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -19,6 +19,9 @@ qt6-base (6.6.2+dfsg-9) UNRELEASED; urgency=medium
|
|||||||
* Backport upstream commit f319895389705a3db7c2134d1ed47ceade1b204e to fix
|
* Backport upstream commit f319895389705a3db7c2134d1ed47ceade1b204e to fix
|
||||||
the build on the Hurd; patch
|
the build on the Hurd; patch
|
||||||
upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch.
|
upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch.
|
||||||
|
* Copy/import the patch armv4.diff from Qt5 to support ARMv4; it is needed
|
||||||
|
to be able to build Qt6 bits with clang 16 and older, which in Debian still
|
||||||
|
defaults to ARMv4.
|
||||||
|
|
||||||
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Sat, 22 Jun 2024 17:18:30 +0200
|
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Sat, 22 Jun 2024 17:18:30 +0200
|
||||||
|
|
||||||
|
26
debian/patches/armv4.diff
vendored
Normal file
26
debian/patches/armv4.diff
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Description: support ARMv4 architecture, needed for armel builds
|
||||||
|
Author: Dmitry Shachnev <mitya57@debian.org>
|
||||||
|
Forwarded: no
|
||||||
|
Last-Update: 2016-07-01
|
||||||
|
|
||||||
|
--- a/src/corelib/global/qprocessordetection.h
|
||||||
|
+++ b/src/corelib/global/qprocessordetection.h
|
||||||
|
@@ -132,6 +132,8 @@
|
||||||
|
# elif defined(__ARM_ARCH_5TEJ__) \
|
||||||
|
|| defined(__ARM_ARCH_5TE__)
|
||||||
|
# define Q_PROCESSOR_ARM 5
|
||||||
|
+# elif defined(__ARM_ARCH_4T__)
|
||||||
|
+# define Q_PROCESSOR_ARM 4
|
||||||
|
# else
|
||||||
|
# define Q_PROCESSOR_ARM 0
|
||||||
|
# endif
|
||||||
|
@@ -146,6 +148,9 @@
|
||||||
|
# endif
|
||||||
|
# if Q_PROCESSOR_ARM >= 5
|
||||||
|
# define Q_PROCESSOR_ARM_V5
|
||||||
|
+# endif
|
||||||
|
+# if Q_PROCESSOR_ARM >= 4
|
||||||
|
+# define Q_PROCESSOR_ARM_V4
|
||||||
|
# else
|
||||||
|
# error "ARM architecture too old"
|
||||||
|
# endif
|
5
debian/patches/series
vendored
5
debian/patches/series
vendored
@ -15,5 +15,8 @@ remove_rpath_from_examples.patch
|
|||||||
forkfd_grow_stack_upwards_on_hppa.patch
|
forkfd_grow_stack_upwards_on_hppa.patch
|
||||||
enable_skip_plugins.patch
|
enable_skip_plugins.patch
|
||||||
|
|
||||||
# Don't use yield on CPUs that might not support it
|
# Support old ARM architectures
|
||||||
|
# - Don't use yield on CPUs that might not support it
|
||||||
armel-noyield.patch
|
armel-noyield.patch
|
||||||
|
# - Support ARMv4 until clang < 17 is available in Debian
|
||||||
|
armv4.diff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user