Fix nonnull-compare compile error
--- config.c: In function 'strndup': config.c:87:10: error: nonnull argument 's' compared to NULL [-Werror=nonnull-compare] if(!s) ^ cc1: all warnings being treated as errors --- Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
This commit is contained in:
parent
72f770f16b
commit
0bf83dfc56
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ define Package/logrotate/conffiles
|
|||
/etc/logrotate.conf
|
||||
endef
|
||||
|
||||
EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
|
||||
EXTRA_CFLAGS += $(TARGET_CPPFLAGS) -Wno-nonnull-compare
|
||||
EXTRA_LDFLAGS += $(TARGET_LDFLAGS)
|
||||
|
||||
define Build/Compile
|
||||
|
|
Loading…
Reference in a new issue