mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 13:18:36 -09:00
package/redis-plus-plus: disable -Werror
Fixes build error with gcc 16.x:
output/build/redis-plus-plus-1.3.15/src/sw/redis++/reply.h:
In constructor 'sw::redis::ParseError::ParseError(const std::string&,
const redisReply&)':
output/build/redis-plus-plus-1.3.15/src/sw/redis++/reply.h:54:60: error:
'<unknown>' may be used uninitialized [-Werror=maybe-uninitialized]
54 | const redisReply &reply) : ProtoError(_err_info(expect_type, reply)) {}
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
7e160efb08
commit
e4ac5015b9
@@ -11,6 +11,11 @@ REDIS_PLUS_PLUS_LICENSE_FILES = LICENSE
|
||||
REDIS_PLUS_PLUS_INSTALL_STAGING = YES
|
||||
REDIS_PLUS_PLUS_DEPENDENCIES = hiredis
|
||||
|
||||
define REDIS_PLUS_PLUS_NO_WERROR
|
||||
$(SED) 's/"-Werror"//' $(@D)/CMakeLists.txt
|
||||
endef
|
||||
REDIS_PLUS_PLUS_POST_PATCH_HOOKS += REDIS_PLUS_PLUS_NO_WERROR
|
||||
|
||||
REDIS_PLUS_PLUS_CONF_OPTS = \
|
||||
-DREDIS_PLUS_PLUS_BUILD_SHARED=$(if $(BR2_STATIC_LIBS),OFF,ON) \
|
||||
-DREDIS_PLUS_PLUS_BUILD_TEST=OFF
|
||||
|
||||
Reference in New Issue
Block a user