summaryrefslogtreecommitdiff
path: root/package/iptraf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/iptraf/Makefile')
-rw-r--r--package/iptraf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/iptraf/Makefile b/package/iptraf/Makefile
index 2bcffc733..7ae627284 100644
--- a/package/iptraf/Makefile
+++ b/package/iptraf/Makefile
@@ -22,7 +22,9 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+TARGET_CPPFLAGS+= -D_GNU_SOURCE
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+TARGET_LDFLAGS+= -ltinfo
do-build:
${MAKE} -C ${WRKBUILD}/src \