mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 11:26:19 +00:00
18 lines
560 B
Diff
18 lines
560 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index a05a294..558851d 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1498,7 +1498,11 @@ UL_REQUIRES_BUILD([lsblk], [libsmartcols])
|
|
AM_CONDITIONAL([BUILD_LSBLK], [test "x$build_lsblk" = xyes])
|
|
|
|
|
|
-UL_BUILD_INIT([lscpu], [check])
|
|
+AC_ARG_ENABLE([lscpu],
|
|
+ AS_HELP_STRING([--disable-lscpu], [do not build lscpu]),
|
|
+ [], [UL_DEFAULT_ENABLE([lscpu], [check])]
|
|
+)
|
|
+UL_BUILD_INIT([lscpu])
|
|
UL_REQUIRES_LINUX([lscpu])
|
|
UL_REQUIRES_BUILD([lscpu], [libsmartcols])
|
|
UL_REQUIRES_HAVE([lscpu], [cpu_set_t], [cpu_set_t type])
|