QElfParser: fix build if EM_S390 is not defined
Found in the OpenBSD ports patch collection[1] while researching if commit 9caac0f176040b4da48d3ea289683b0b082cf729 was still necessary for OpenBSD. They should upstream their changes instead of working around... [1] https://github.com/openbsd/ports/blob/master/x11/qt6/qtbase/patches/patch-src_corelib_plugin_qelfparser_p_cpp Change-Id: I63b988479db546dabffcfffd17662042c7130f7c Reviewed-by: Lars Knoll <lars@knoll.priv.no> (cherry picked from commit b1816c2718acf9743d842e4b02dd314d8252cb78) Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
a08ca88b24
commit
459ae9334d
@ -402,7 +402,9 @@ Q_DECL_UNUSED Q_DECL_COLD_FUNCTION static QDebug &operator<<(QDebug &d, ElfHeade
|
||||
#ifdef EM_RISCV
|
||||
case EM_RISCV: d << ", RISC-V"; break;
|
||||
#endif
|
||||
#ifdef EM_S390
|
||||
case EM_S390: d << ", S/390"; break;
|
||||
#endif
|
||||
case EM_SH: d << ", SuperH"; break;
|
||||
case EM_SPARC: d << ", SPARC"; break;
|
||||
case EM_SPARCV9: d << ", SPARCv9"; break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user