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>
This commit is contained in:
Khem Raj
2018-03-19 20:59:56 -07:00
committed by Armin Kuster
parent 6a7cd839e6
commit 3d90f703f4
@@ -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() {