build: add -Wno-error=unused-result to target cflags
authorFelix Fietkau <nbd@openwrt.org>
Tue, 10 Nov 2015 12:04:09 +0000 (12:04 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 10 Nov 2015 12:04:09 +0000 (12:04 +0000)
commit940bc81bc2dee35f01c7ca6e5e588f62a20b82f8
treea4e318f63ca5e48479c84defaedd813ad93ba523
parentb613c96d94bcdcda7abb3be68ea1c281ce5fbb47
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>
SVN-Revision: 47440
rules.mk