From 5bed4f9a47712f8bd444cc3d0c1fd891f277b0aa Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 29 Aug 2022 23:06:14 -0700 Subject: ettercap: Pass -D_GNU_SOURCE Fixes build on musl Signed-off-by: Khem Raj --- meta-networking/recipes-support/ettercap/ettercap_0.8.3.1.bb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-54-g00ecf