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

Message ID 20210605135947.469959-1-hjl.tools@gmail.com
State New
Headers show
Series
  • x86: Install <bits/platform/x86.h> [BZ #27958]
Related show

Commit Message

Adhemerval Zanella via Libc-alpha June 5, 2021, 1:59 p.m.
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(-)

-- 
2.31.1

Patch

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)