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:
271b3cd
)
support ARMv4 architecture, needed for armel builds
author
Dmitry Shachnev
<mitya57@debian.org>
Sun, 7 Aug 2022 13:56:40 +0000
(14:56 +0100)
committer
Dmitry Shachnev
<mitya57@debian.org>
Sun, 7 Aug 2022 13:56:40 +0000
(14:56 +0100)
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 8d65720850336ecf562047ad82e871a9cd5d4be4..a6ead5497c0bcec6434e1c17d18a51ae4844e3bb 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