summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-11-03 15:06:09 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-03 15:55:44 +0100
commite1eb9c345428e0bca79ed60ac8cf1d22579cd9f4 (patch)
tree252ddcd43692c3202101d03ea877d48c71450783
parent0a1ffcb885b3f4d2dfeaec7bcfb20e982286562c (diff)
downloadbuildroot-e1eb9c345428e0bca79ed60ac8cf1d22579cd9f4.tar.gz
buildroot-e1eb9c345428e0bca79ed60ac8cf1d22579cd9f4.zip
libv4l: disable clang
For the time being, disable clang that is used to build BPF (in-kernel bytecode machine) protocols. Indeed, if an old version of clang is found on the host, it could be used to build object files with a "None" architecture which will be rejected by support/scripts/check-bin-arch Fixes: - http://autobuild.buildroot.org/results/c18fb7f1ac81496db9c3a4e91ea028a26ca600b0 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/libv4l/libv4l.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
index 4e82dea6ad..f473c03806 100644
--- a/package/libv4l/libv4l.mk
+++ b/package/libv4l/libv4l.mk
@@ -55,6 +55,10 @@ endif
ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y)
LIBV4L_CONF_OPTS += --enable-v4l-utils
LIBV4L_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
+
+# Disable clang that is used to build BPF (in-kernel bytecode machine) protocols
+LIBV4L_CONF_ENV += ac_cv_prog_CLANG=""
+
ifeq ($(BR2_PACKAGE_QT5BASE)$(BR2_PACKAGE_QT5BASE_GUI)$(BR2_PACKAGE_QT5BASE_WIDGETS),yyy)
LIBV4L_CONF_OPTS += --enable-qv4l2
LIBV4L_DEPENDENCIES += qt5base
OpenPOWER on IntegriCloud