mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/redis: disable -Werror
Disable -Werror to avoid the following build failure raised since bump to version 7.2.1 in commitd49f53f8aaand8e138ba44f: In function 'hi_sdsll2str', inlined from 'hi_sdsfromlonglong' at sds.c:500:15: sds.c:457:12: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=] 457 | *s = *p; | ~~~^~~~ Fixes:d49f53f8aa- http://autobuild.buildroot.org/results/fdc9f940b348430cb4da8efecc5cc047b21df281 - http://autobuild.buildroot.org/results/e5747674d52b065203a0442f7cab13e8be5f426b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commitdee6974d72) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
50ae04570b
commit
e7249d3e2d
@@ -30,7 +30,7 @@ endif
|
|||||||
# https://github.com/antirez/redis/pull/609). We set PREFIX
|
# https://github.com/antirez/redis/pull/609). We set PREFIX
|
||||||
# instead.
|
# instead.
|
||||||
REDIS_BUILDOPTS = $(TARGET_CONFIGURE_OPTS) \
|
REDIS_BUILDOPTS = $(TARGET_CONFIGURE_OPTS) \
|
||||||
PREFIX=$(TARGET_DIR)/usr MALLOC=libc
|
PREFIX=$(TARGET_DIR)/usr MALLOC=libc WARNINGS=
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||||
REDIS_DEPENDENCIES += systemd
|
REDIS_DEPENDENCIES += systemd
|
||||||
|
|||||||
Reference in New Issue
Block a user