[PATCH] x86: Install <bits/platform/x86.h> [BZ #27958]

H.J. Lu hjl.tools@gmail.com
Sat Jun 5 13:59:47 GMT 2021


Install <bits/platform/x86.h> for <sys/platform/x86.h> which includes
<bits/platform/x86.h>.

Fixes BZ #27958.
---
 sysdeps/x86/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile
index 346ec491b3..567ea54243 100644
--- a/sysdeps/x86/Makefile
+++ b/sysdeps/x86/Makefile
@@ -5,7 +5,7 @@ endif
 ifeq ($(subdir),elf)
 sysdep_routines += get-cpuid-feature-leaf
 sysdep-dl-routines += dl-get-cpu-features
-sysdep_headers += sys/platform/x86.h
+sysdep_headers += sys/platform/x86.h bits/platform/x86.h
 
 CFLAGS-get-cpuid-feature-leaf.o += $(no-stack-protector)
 
-- 
2.31.1



More information about the Libc-alpha mailing list