mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
mpich: Add libgcc to ldflags on x86/glibc
The build needs them in some subcomponents, it does not come to front when using libgcc as default but when compiler-rt is used then it does not link because its expecting functions from libgcc Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -31,7 +31,8 @@ PACKAGECONFIG += " \
|
||||
"
|
||||
PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11"
|
||||
|
||||
LDFLAGS_append_x86-64 = " -lgcc"
|
||||
LDFLAGS_append_libc-glibc_x86-64 = " -lgcc"
|
||||
LDFLAGS_append_libc-glibc_x86 = " -lgcc"
|
||||
|
||||
inherit autotools gettext pkgconfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user