From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Sun, 16 Aug 2020 23:03:36 +0200 Subject: [Buildroot] [PATCH 1/1] package/libcamera: disable werror In-Reply-To: <20200816100656.979726-1-fontaine.fabrice@gmail.com> References: <20200816100656.979726-1-fontaine.fabrice@gmail.com> Message-ID: <20200816210336.GJ24264@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Fabrice, All, On 2020-08-16 12:06 +0200, Fabrice Fontaine spake thusly: > 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 Applied to master, thanks. Regards, Yann E. MORIN. > --- > package/libcamera/libcamera.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/libcamera/libcamera.mk b/package/libcamera/libcamera.mk > index 9739f715a1..34911cee79 100644 > --- a/package/libcamera/libcamera.mk > +++ b/package/libcamera/libcamera.mk > @@ -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), \ > -- > 2.27.0 > > _______________________________________________ > buildroot mailing list > buildroot at busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'