diff mbox series

[oe,meta-oe,2/6] krb5: Add -D_REENTRANT -pthread to CFLAGS on risc-v

Message ID 20180320040000.29408-2-raj.khem@gmail.com
State Accepted
Commit 3d90f703f43fb9f043051f4ea1710530a5cd407a
Headers show
Series [oe,meta-networking,1/6] ndisc6: gold does not work for risc-v here | expand

Commit Message

Khem Raj March 20, 2018, 3:59 a.m. UTC
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@gmail.com>

---
 meta-oe/recipes-connectivity/krb5/krb5_1.16.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.16.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb
index 3bdb090be..267a40ced 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb
+++ b/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb
@@ -51,6 +51,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() {