diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-23 23:34:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-25 11:08:06 +0100 |
commit | f9dea233bb3dd18e51a825a1420621d9de926f2c (patch) | |
tree | 2969cc4fa9cb098f762b41afdd2a395cf8bb0a48 /meta | |
parent | 28e6412e474f5d03f906d07c607402c09aa647b5 (diff) | |
download | poky-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.bb | 2 |
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 | ||
14 | CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'" | 14 | CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'" |
15 | 15 | ||
16 | CFLAGS += "-D_GNU_SOURCE" | ||
17 | |||
16 | GNOMEBASEBUILDCLASS = "meson" | 18 | GNOMEBASEBUILDCLASS = "meson" |
17 | GTKDOC_MESON_OPTION = "gtk_doc" | 19 | GTKDOC_MESON_OPTION = "gtk_doc" |
18 | inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg | 20 | inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg |