Upstream backport. Signed-off-by: Rosen Penev <rosenp@gmail.com>
And instead override TARGET_CFLAGS to set _GNU_SOURCE accordingly since this is the upstream maintainer solution. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37152
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36643
SVN-Revision: 34002