package/libcamera: disable werror
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 16 Aug 2020 10:06:56 +0000 (12:06 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 16 Aug 2020 21:02:53 +0000 (23:02 +0200)
This will fix the following build failure:

../src/gstreamer/gstlibcameraallocator.cpp: In static member function 'static GQuark FrameWrap::getQuark()':
/home/peko/autobuild/instance-1/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib/gatomic.h:128:15: error: variable 'gapg_temp_atomic' set but not used [-Werror=unused-but-set-variable]
     gpointer *gapg_temp_atomic = (gpointer *)(atomic);                       \
               ^

Fixes:
 - http://autobuild.buildroot.org/results/c28500d4cc55fbd2bac87f2c11759ddc9163bc91

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libcamera/libcamera.mk

index 9739f715a1286c95fd9bb762acbac9d03c648726..34911cee797499a51da842bbe110002e1375ff44 100644 (file)
@@ -15,7 +15,8 @@ LIBCAMERA_DEPENDENCIES = \
 LIBCAMERA_CONF_OPTS = \
        -Dandroid=false \
        -Ddocumentation=false \
-       -Dtest=false
+       -Dtest=false \
+       -Dwerror=false
 LIBCAMERA_INSTALL_STAGING = YES
 LIBCAMERA_LICENSE = \
        LGPL-2.1+ (library), \