From 3d90f703f43fb9f043051f4ea1710530a5cd407a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 19 Mar 2018 20:59:56 -0700 Subject: [PATCH] krb5: Add -D_REENTRANT -pthread to CFLAGS on risc-v This is not defined by gcc for risc-v, probably a bug in gcc but until then insulate ourselves Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/krb5/krb5_1.16.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb index 80bc8afe94..84f0f0ae12 100644 --- a/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb +++ b/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb @@ -50,6 +50,7 @@ CACHED_CONFIGUREVARS += "krb5_cv_attr_constructor_destructor=yes ac_cv_func_regc ac_cv_file__etc_TIMEZONE=no" CFLAGS_append = " -fPIC -DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et" +CFLAGS_append_riscv64 = " -D_REENTRANT -pthread" LDFLAGS_append = " -pthread" do_configure() {