QElfParser: fix build if EM_S390 is not defined
Found in the OpenBSD ports patch collection[1] while researching if
commit 9caac0f176 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
Pick-to: 6.5 6.6
Change-Id: I63b988479db546dabffcfffd17662042c7130f7c
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
bb10
parent
604eb6f4cd
commit
b1816c2718
|
|
@ -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…
Reference in New Issue