ettercap: Pass -D_GNU_SOURCE

Fixes build on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-08-29 23:06:14 -07:00
parent 7a880dcbd9
commit 5bed4f9a47

View File

@ -32,6 +32,7 @@ EXTRA_OECMAKE = " \
-DENABLE_GTK=OFF \
"
CFLAGS += "-D_GNU_SOURCE"
# Replaces default encoding set (ISO-8859-1) with UTF-8 in ettercap
# configuration file installed by the package.
# It ensures that all characters are properly decoded and avoids