Add some metadata for fix_cpuid_double_include.patch
This commit is contained in:
parent
9cbc76faa1
commit
03bb404b37
@ -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
|
Index: intel-lpmd-0.0.8/src/lpmd_hfi.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- intel-lpmd-0.0.8.orig/src/lpmd_hfi.c
|
--- intel-lpmd-0.0.8.orig/src/lpmd_hfi.c
|
||||||
|
@ -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
|
- Avoid double include of cpuid.h and fix older distro builds
|
||||||
(could be a gcc7 vs gcc14 issue).
|
(could be a gcc7 vs gcc14 issue).
|
||||||
A fix_cpuid_double_include.patch
|
Add fix_cpuid_double_include.patch.
|
||||||
- Only builds for x86 and as it's an Intel tool, it's probably only
|
- Only build for x86 and, as it's an Intel tool, it's probably only
|
||||||
intended to run and work on x86 machines, add:
|
intended to run and work on x86 machines, add:
|
||||||
ExclusiveArch: %ix86 x86_64
|
ExclusiveArch: %ix86 x86_64
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user