Add some metadata for fix_cpuid_double_include.patch

This commit is contained in:
Jan Engelhardt 2024-11-27 11:59:38 +01:00
parent 9cbc76faa1
commit 03bb404b37
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
From: trenn@suse.com
Date: 2024-11-27 10:23:38 +0000
gcc7's cpuid.h is missing an include guard, and since the file does get included
at least twice, compilation fails under Leap-15 gcc7. Work around it by removing
some includes locally.
Index: intel-lpmd-0.0.8/src/lpmd_hfi.c
===================================================================
--- intel-lpmd-0.0.8.orig/src/lpmd_hfi.c

View File

@ -3,8 +3,8 @@ Wed Nov 27 10:12:23 UTC 2024 - Thomas Renninger <trenn@suse.de>
- Avoid double include of cpuid.h and fix older distro builds
(could be a gcc7 vs gcc14 issue).
A fix_cpuid_double_include.patch
- Only builds for x86 and as it's an Intel tool, it's probably only
Add fix_cpuid_double_include.patch.
- Only build for x86 and, as it's an Intel tool, it's probably only
intended to run and work on x86 machines, add:
ExclusiveArch: %ix86 x86_64