build: add -Wno-error=unused-result to target cflags
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 23 Nov 2015 14:03:03 +0000 (14:03 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 23 Nov 2015 14:03:03 +0000 (14:03 +0000)
commit27ec23c9c57470a8ab3e9a1f93aee66d8adfc0e2
tree53896bc9a9990d82b0e7d5754561a37b04195060
parent9e668cd2159b7686a4a00fddce01f0b8605f0d03
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>
Backport of r47440

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47607 3c298f89-4303-0410-b956-a3cf2f4a3e73
rules.mk