projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f770f
)
Fix nonnull-compare compile error
3155/head
author
Hirokazu MORIKAWA
<morikw2@gmail.com>
Tue, 13 Sep 2016 08:31:54 +0000
(17:31 +0900)
committer
Hirokazu MORIKAWA
<morikw2@gmail.com>
Tue, 13 Sep 2016 08:31:54 +0000
(17:31 +0900)
---
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>
utils/logrotate/Makefile
patch
|
blob
|
history
diff --git
a/utils/logrotate/Makefile
b/utils/logrotate/Makefile
index dbfa92907a13489a89b9716b91b5022035872479..9218a8c7609f511738939dc10355fa1be06bf481 100644
(file)
--- a/
utils/logrotate/Makefile
+++ b/
utils/logrotate/Makefile
@@
-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