aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ettercap
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-29 23:06:14 -0700
committerKhem Raj <raj.khem@gmail.com>2022-08-30 00:14:58 -0700
commit5bed4f9a47712f8bd444cc3d0c1fd891f277b0aa (patch)
tree5e043fced9b2d2cf7677ae367d1c305e87bb291a /meta-networking/recipes-support/ettercap
parent7a880dcbd95db7dd76ff8687441d4d51d561331e (diff)
downloadmeta-openembedded-contrib-5bed4f9a47712f8bd444cc3d0c1fd891f277b0aa.tar.gz
ettercap: Pass -D_GNU_SOURCE
Fixes build on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/ettercap')
-rw-r--r--meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb b/meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb
index 99fcacd3ef..7d37f41096 100644
--- a/meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb
+++ b/meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb
@@ -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