[PATCH] Fix x86 build with --enable-tunable=no

H.J. Lu hjl.tools@gmail.com
Thu Jan 14 14:48:36 GMT 2021


On Thu, Jan 14, 2021 at 6:20 AM Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
>
> Checked on x86_64-linux-gnu.
> ---
>  sysdeps/x86/get-isa-level.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/sysdeps/x86/get-isa-level.h b/sysdeps/x86/get-isa-level.h
> index a86e1e8941..cd9e6945a7 100644
> --- a/sysdeps/x86/get-isa-level.h
> +++ b/sysdeps/x86/get-isa-level.h
> @@ -16,6 +16,8 @@
>     License along with the GNU C Library; if not, see
>     <https://www.gnu.org/licenses/>.  */
>
> +#include <elf.h>
> +#include <ldsodefs.h>
>  #include <sys/platform/x86.h>
>
>  /* Get GNU_PROPERTY_X86_ISA_1_BASELINE and GNU_PROPERTY_X86_ISA_1_V[234]
> --
> 2.25.1
>

LGTM.

Thanks.

-- 
H.J.


More information about the Libc-alpha mailing list