Hash :
c0184d73
Author :
Date :
2025-09-16T17:38:57
cpu-supports: remove assert dependency Avoid LGPL incompatibility issues by removing assert. * lib/cpu-supports.c (hwcaps_allowed): Replace assert()s with defensive returns allowing the passed hwcap. * modules/cpu-supports: Remove the dependency.
Description:
A wrapper for __builtin_cpu_supports to also check GLIBC_TUNABLES
Files:
lib/cpu-supports.h
lib/cpu-supports.c
Depends-on:
attribute
bool
c99
configure.ac:
AC_REQUIRE([AC_C_INLINE])
Makefile.am:
lib_SOURCES += cpu-supports.c
Include:
"cpu-supports.h"
License:
LGPL
Maintainer:
all