summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-23 23:34:42 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-25 11:08:06 +0100
commitf9dea233bb3dd18e51a825a1420621d9de926f2c (patch)
tree2969cc4fa9cb098f762b41afdd2a395cf8bb0a48 /meta
parent28e6412e474f5d03f906d07c607402c09aa647b5 (diff)
downloadpoky-f9dea233bb3dd18e51a825a1420621d9de926f2c.tar.gz
gcr: Define _GNU_SOURCE
This ensures that definitions of functions e.g. getpass() are correctly sourced from system headers, since it depends on feature test macros (From OE-Core rev: 0d117e5d17c491e1d26aefb4b919410b07fd5347) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-gnome/gcr/gcr_3.40.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gcr/gcr_3.40.0.bb b/meta/recipes-gnome/gcr/gcr_3.40.0.bb
index 0c2af42f06..917be5938b 100644
--- a/meta/recipes-gnome/gcr/gcr_3.40.0.bb
+++ b/meta/recipes-gnome/gcr/gcr_3.40.0.bb
@@ -13,6 +13,8 @@ DEPENDS = "p11-kit glib-2.0 libgcrypt gnupg-native \
13 13
14CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'" 14CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'"
15 15
16CFLAGS += "-D_GNU_SOURCE"
17
16GNOMEBASEBUILDCLASS = "meson" 18GNOMEBASEBUILDCLASS = "meson"
17GTKDOC_MESON_OPTION = "gtk_doc" 19GTKDOC_MESON_OPTION = "gtk_doc"
18inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg 20inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg