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:
Khem Raj 2021-06-25 10:52:00 -07:00
parent 4b5e0df086
commit 1c8b1c862b

View File

@ -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