Fix build with SPARC Solaris

Change-Id: I8969d7950f7c5b6164f87ab37f1089b7bc8cae8b
Done-by: Petr Šumbera
Pick-to: 6.4
Fixes: QTBUG-107178
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Mårten Nordheim 2022-10-05 16:16:21 +02:00
parent 539165dae9
commit 87d12f7f21
2 changed files with 1 additions and 3 deletions

View File

@ -294,7 +294,7 @@
*/
#elif defined(__sparc__)
# define Q_PROCESSOR_SPARC
# if defined(__sparc_v9__)
# if defined(__sparc_v9__) || defined(__sparcv9)
# define Q_PROCESSOR_SPARC_V9
# endif
# if defined(__sparc64__)

View File

@ -128,10 +128,8 @@ struct ElfMachineCheck
#elif defined(Q_PROCESSOR_SH)
EM_SH
#elif defined(Q_PROCESSOR_SPARC_V9)
# warning "Please confirm that this is correct for Linux and Solaris"
EM_SPARCV9
#elif defined(Q_PROCESSOR_SPARC_64)
# warning "Please confirm that this is correct for Linux and Solaris"
EM_SPARCV9
#elif defined(Q_PROCESSOR_SPARC)
EM_SPARC