mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 11:27:48 +00: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"
|
PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11"
|
||||||
|
|
||||||
LDFLAGS:append:libc-glibc:x86-64 = " -lgcc"
|
# libmpi.so needs symbols like __multf3 and somehow it does not respect --rtlib option passed by clang
|
||||||
LDFLAGS:append:libc-glibc:x86 = " -lgcc"
|
LDFLAGS:append:x86-64 = " -lgcc"
|
||||||
|
LDFLAGS:append:x86 = " -lgcc"
|
||||||
|
|
||||||
inherit autotools gettext pkgconfig
|
inherit autotools gettext pkgconfig
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user