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)
commitfad3e1cc35d713e68b63601021fcee97c3696b54
tree9943dc135a4075b5c0772fd89689f6d370de4c8a
parent468f5ba5c865cc9f877d3c97c23a9c0461749526
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

SVN-Revision: 47607
rules.mk