libupm: Workaround for errors with GCC11
authorHirokazu MORIKAWA <morikw2@gmail.com>
Wed, 7 Jul 2021 09:25:48 +0000 (18:25 +0900)
committerHirokazu MORIKAWA <morikw2@gmail.com>
Wed, 7 Jul 2021 09:25:48 +0000 (18:25 +0900)
https://github.com/openwrt/packages/issues/16060

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
libs/libupm/Makefile

index 7fbf278ec19978b0c5eed6d767d2145efa1c9e70..a48247ffd34ebfb1aa6a9c125264d2235d17677e 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libupm
 PKG_VERSION:=2.0.0
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/intel-iot-devkit/upm/tar.gz/v$(PKG_VERSION)?
@@ -54,6 +54,7 @@ UPM_MODULES:= \
 
 CMAKE_OPTIONS += \
        -DBUILDSWIGNODE=OFF \
+       -DWERROR=OFF \
        -DPYTHON2LIBS_FOUND=FALSE \
        -DPYTHON2INTERP_FOUND=FALSE \