Android.mk: Disable lmsensors
authorAlessandro Astone <ales.astone@gmail.com>
Thu, 7 Jul 2022 08:34:37 +0000 (10:34 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 12 Aug 2022 08:51:11 +0000 (08:51 +0000)
Meson might incorrectly enable sensors if it detects lmsensors
on the host system.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6805
Cc: "22.0" "22.1" "22.2" mesa-stable
Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17391>

android/mesa3d_cross.mk

index 5b115d9..52a3fb7 100644 (file)
@@ -91,6 +91,7 @@ MESON_GEN_NINJA := \
        -Dgbm=enabled                                                                \
        -Degl=enabled                                                                \
        -Dcpp_rtti=false                                                             \
+       -Dlmsensors=disabled                                                         \
 
 MESON_BUILD := PATH=/usr/bin:/bin:/sbin:$$PATH ninja -C $(MESON_OUT_DIR)/build