build: add -Wno-error=unused-result to target cflags
authorFelix Fietkau <nbd@openwrt.org>
Mon, 23 Nov 2015 14:03:03 +0000 (14:03 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 23 Nov 2015 14:03:03 +0000 (14:03 +0000)
commit86605d34c42ebc77651cdd1c757ba103da00f3fd
tree53896bc9a9990d82b0e7d5754561a37b04195060
parent38af2ad2e29b03fecc0111fb02a1299799846605
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