projects
/
qtbase-opensource-src.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4bc3a
)
support ARMv4 architecture, needed for armel builds
author
Dmitry Shachnev
<mitya57@debian.org>
Tue, 21 May 2024 07:53:43 +0000
(10:53 +0300)
committer
Dmitry Shachnev
<mitya57@debian.org>
Tue, 21 May 2024 07:53:43 +0000
(10:53 +0300)
Forwarded: no
Last-Update: 2016-07-01
Gbp-Pq: Name armv4.diff
src/corelib/global/qprocessordetection.h
patch
|
blob
|
history
diff --git
a/src/corelib/global/qprocessordetection.h
b/src/corelib/global/qprocessordetection.h
index 7b32b919f2a40b5e1e9fcafa5d670c3fa854c2f9..ba0e6bc3a20486fa17136a72440c464187626e42 100644
(file)
--- 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