summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-03-19 20:59:56 -0700
committerArmin Kuster <akuster808@gmail.com>2018-03-29 16:50:38 -0700
commit3d90f703f43fb9f043051f4ea1710530a5cd407a (patch)
tree19b2d8cc0c7cef6e115337f3249ce377ffa73c33 /meta-oe/recipes-connectivity
parent6a7cd839e67bec1d0e83141053adf8af85c8bae6 (diff)
downloadmeta-openembedded-3d90f703f43fb9f043051f4ea1710530a5cd407a.tar.gz
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@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity')
-rw-r--r--meta-oe/recipes-connectivity/krb5/krb5_1.16.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.16.bb
index 80bc8afe9..84f0f0ae1 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
50 ac_cv_file__etc_TIMEZONE=no" 50 ac_cv_file__etc_TIMEZONE=no"
51 51
52CFLAGS_append = " -fPIC -DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et" 52CFLAGS_append = " -fPIC -DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et"
53CFLAGS_append_riscv64 = " -D_REENTRANT -pthread"
53LDFLAGS_append = " -pthread" 54LDFLAGS_append = " -pthread"
54 55
55do_configure() { 56do_configure() {