rpm/rpm-4.19.1.1-i586-only-force-i586-host-cpu.patch

12 lines
407 B
Diff

--- rpm-4.19.1.1/CMakeLists.txt.orig 2024-05-13 16:56:35.592344195 +0100
+++ rpm-4.19.1.1/CMakeLists.txt 2024-05-13 16:56:54.867384790 +0100
@@ -140,7 +140,7 @@
list(GET db_backends 0 DB_BACKEND)
- set(host_cpu ${CMAKE_HOST_SYSTEM_PROCESSOR})
+ set(host_cpu "i586")
string(TOLOWER ${CMAKE_HOST_SYSTEM_NAME} host_os)
set(host_vendor ${RPM_VENDOR})
set(host ${host_cpu}-${host_vendor}-${host_os})