small-package/qt6base/patches/001-fix_build_for_openwrt.p...

13 lines
485 B
Diff
Raw Normal View History

2023-09-11 14:52:04 +08:00
--- a/src/corelib/plugin/qelfparser_p.cpp
+++ b/src/corelib/plugin/qelfparser_p.cpp
2024-04-02 02:52:10 +08:00
@@ -382,7 +382,9 @@ Q_DECL_UNUSED Q_DECL_COLD_FUNCTION static QDebug &operator<<(QDebug &d, ElfHeade
2023-09-11 14:52:04 +08:00
case EM_ALPHA: d << ", Alpha"; break;
case EM_68K: d << ", MC68000"; break;
case EM_ARM: d << ", ARM"; break;
+#ifdef EM_AARCH64
case EM_AARCH64: d << ", AArch64"; break;
+#endif
#ifdef EM_BLACKFIN
case EM_BLACKFIN: d << ", Blackfin"; break;
#endif