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:07:33 +0100 |
commit | 0d117e5d17c491e1d26aefb4b919410b07fd5347 (patch) | |
tree | 258d1398b8854aee39e9ea710c32029338bdf3cf /meta/recipes-gnome | |
parent | ded3d76a844dd1aef9ac610fbe506bf76285369b (diff) | |
download | openembedded-core-0d117e5d17c491e1d26aefb4b919410b07fd5347.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
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/recipes-gnome')
-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 \ CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'" +CFLAGS += "-D_GNU_SOURCE" + GNOMEBASEBUILDCLASS = "meson" GTKDOC_MESON_OPTION = "gtk_doc" inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg |