[oe-commits] [meta-openembedded] 27/90: krb5: Add -D_REENTRANT -pthread to CFLAGS on risc-v

git at git.openembedded.org git at git.openembedded.org
Fri Mar 30 00:00:48 UTC 2018


This is an automated email from the git hooks/post-receive script.

armin_kuster pushed a commit to branch master-next
in repository meta-openembedded.

commit 3d90f703f43fb9f043051f4ea1710530a5cd407a
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Mar 19 20:59:56 2018 -0700

    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 <raj.khem at gmail.com>
---
 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 80bc8af..84f0f0a 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() {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list