]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/iptraf-ng: really add _GNU_SOURCE in CFLAGS
authorRomain Naour <romain.naour@gmail.com>
Sat, 28 May 2016 13:15:52 +0000 (15:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 28 May 2016 13:51:00 +0000 (15:51 +0200)
commiteb384c24fd1b8604560dfeb6add7e698aab1e2c0
tree9c6fc6734f18fc014bbfa56fa38e15bd4cde585e
parent2277395172e62789cc6f8468baae569f1db47f7d
package/iptraf-ng: really add _GNU_SOURCE in CFLAGS

When iptraf-ng is build with musl, it needs _GNU_SOURCE in CFLAGS to define
the content of "struct tcphdr".

iptraf-ng.mk try to add _GNU_SOURCE in CFLAGS but it's not taken into account.

Add it using IPTRAF_NG_CONF_ENV instead of IPTRAF_NG_MAKE_ENV.

Fixes:
http://autobuild.buildroot.net/results/a1b/a1b18f2e3d075d349c19536a7c5553f24b75a323

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/iptraf-ng/iptraf-ng.mk