aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/mpich
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-06-25 10:52:00 -0700
committerKhem Raj <raj.khem@gmail.com>2021-06-26 00:45:10 -0700
commit1c8b1c862bf321cf05b6543fb9a42eadbbeccfe2 (patch)
tree7f23055763c8e8bf26a213a6fed340ca3404a2d1 /meta-oe/recipes-devtools/mpich
parent4b5e0df08630526a5236a1c37b2886a1d139b439 (diff)
downloadmeta-openembedded-contrib-1c8b1c862bf321cf05b6543fb9a42eadbbeccfe2.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-devtools/mpich')
-rw-r--r--meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb b/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb
index 0ee02d685c..20df3620d0 100644
--- a/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb
+++ b/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb
@@ -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