diff --git a/src/corelib/global/qprocessordetection.h b/src/corelib/global/qprocessordetection.h index 15fda91c43..34d39512e9 100644 --- a/src/corelib/global/qprocessordetection.h +++ b/src/corelib/global/qprocessordetection.h @@ -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__) diff --git a/src/corelib/plugin/qelfparser_p.cpp b/src/corelib/plugin/qelfparser_p.cpp index b0c23d58b6..2890e55311 100644 --- a/src/corelib/plugin/qelfparser_p.cpp +++ b/src/corelib/plugin/qelfparser_p.cpp @@ -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