Enable compilation of PlatformAssembler_X86_64_SysV on GNU/Hurd
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Thu, 11 Dec 2025 10:02:24 +0000 (13:02 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 11 Dec 2025 10:02:24 +0000 (13:02 +0300)
Origin: upstream, https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=136bd72b35907e53
Last-Update: 2025-09-28

Otherwise jit fails to compile on x86_64 GNU/Hurd.

Gbp-Pq: Name hurd_x86_64_jit.patch

src/qml/jit/qv4assemblercommon_p.h

index c3b1eb34eb5e432168046a5ef9bda46dfc20f969..9f8179233e54df93f20dd9b7ce7d4041bbd8a015 100644 (file)
@@ -66,7 +66,7 @@ namespace QV4 {
 namespace JIT {
 
 #if defined(Q_PROCESSOR_X86_64) || defined(ENABLE_ALL_ASSEMBLERS_FOR_REFACTORING_PURPOSES)
-#if defined(Q_OS_LINUX) || defined(Q_OS_QNX) || defined(Q_OS_FREEBSD) || defined(Q_OS_DARWIN)
+#if defined(Q_OS_LINUX) || defined(Q_OS_QNX) || defined(Q_OS_FREEBSD) || defined(Q_OS_DARWIN) || defined(Q_OS_HURD)
 
 class PlatformAssembler_X86_64_SysV : public JSC::MacroAssembler<JSC::MacroAssemblerX86_64>
 {