aboutsummaryrefslogtreecommitdiffstats
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
parent6a7cd839e67bec1d0e83141053adf8af85c8bae6 (diff)
downloadmeta-openembedded-contrib-3d90f703f43fb9f043051f4ea1710530a5cd407a.tar.gz
meta-openembedded-contrib-3d90f703f43fb9f043051f4ea1710530a5cd407a.tar.bz2
meta-openembedded-contrib-3d90f703f43fb9f043051f4ea1710530a5cd407a.zip
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>
-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 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() {