mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
mpich: link explictly with libgcc
libmpi.so does need specific symbols from libgcc eg __multf3 on x86 irrespective of C library Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
15ee78730a
commit
36066f34e8
|
|
@ -31,8 +31,9 @@ PACKAGECONFIG += " \
|
|||
"
|
||||
PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11"
|
||||
|
||||
LDFLAGS:append:libc-glibc:x86-64 = " -lgcc"
|
||||
LDFLAGS:append:libc-glibc:x86 = " -lgcc"
|
||||
# libmpi.so needs symbols like __multf3 and somehow it does not respect --rtlib option passed by clang
|
||||
LDFLAGS:append:x86-64 = " -lgcc"
|
||||
LDFLAGS:append:x86 = " -lgcc"
|
||||
|
||||
inherit autotools gettext pkgconfig
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user