build: add -Wno-error=unused-result to target cflags
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 Nov 2015 12:04:09 +0000 (12:04 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 Nov 2015 12:04:09 +0000 (12:04 +0000)
commitbdb040ebdbfae621446a5ed134bd210001518033
tree734f7ca9643e4e846ff26b29b38724115fd50a4b
parent13106bc04ad8efad237836b3c611c54a04007fb2
build: add -Wno-error=unused-result to target cflags

Many glibc functions have __warn_unused_result__ in so many different
core functions, and failing the build for all of those simply does not
make any sense

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47440 3c298f89-4303-0410-b956-a3cf2f4a3e73
rules.mk