mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user