qtbase: fix v6.3.0 build for openwrt
This commit is contained in:
parent
c0ab5d1e51
commit
165d6d8951
15
qtbase/patches/001-fix_build_for_openwrt.patch
Normal file
15
qtbase/patches/001-fix_build_for_openwrt.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- qtbase-everywhere-src-6.3.0.orig/src/corelib/plugin/qelfparser_p.cpp
|
||||
+++ qtbase-everywhere-src-6.3.0/src/corelib/plugin/qelfparser_p.cpp
|
||||
@@ -408,8 +408,12 @@ Q_DECL_UNUSED Q_DECL_COLD_FUNCTION stati
|
||||
// list definitely not exhaustive!
|
||||
case EM_NONE: d << ", no machine"; 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
|
||||
case EM_IA_64: d << ", IA-64"; break;
|
||||
case EM_MIPS: d << ", MIPS"; break;
|
||||
case EM_PPC: d << ", PowerPC"; break;
|
Loading…
Reference in New Issue
Block a user