ports/sysutils/flashrom/files/patch-meson.build
Michael Zhilin 5d01dea4a1 sysutils/flashrom: fix linker error by LLVM17
PR:		276288
Reported by:	ohartmann@walstatt.org (O. Hartmann), pkg-fallout
MFH:		2024Q1
Sponsored by:	Postgres Professional
2024-02-12 15:52:02 +03:00

11 lines
536 B
Text

--- meson.build.orig 2023-04-27 13:51:02 UTC
+++ meson.build
@@ -234,7 +234,7 @@ programmer = {
},
'internal' : {
'systems' : systems_hwaccess + ['linux'],
- 'cpu_families' : (host_machine.system() == 'linux' ? [host_machine.cpu_family()] : ['x86', 'x86_64']),
+ 'cpu_families' : (host_machine.system() in ['linux', 'freebsd'] ? [host_machine.cpu_family()] : ['x86', 'x86_64']),
'deps' : [ libpci ],
'groups' : [ group_internal ],
'srcs' : (host_machine.cpu_family() in ['x86', 'x86_64'] ? files(