diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-06-25 10:52:00 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-26 00:45:10 -0700 |
commit | 1c8b1c862bf321cf05b6543fb9a42eadbbeccfe2 (patch) | |
tree | 7f23055763c8e8bf26a213a6fed340ca3404a2d1 | |
parent | 4b5e0df08630526a5236a1c37b2886a1d139b439 (diff) | |
download | meta-openembedded-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>
-rw-r--r-- | meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb | 3 |
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 += " \ | |||
31 | " | 31 | " |
32 | PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11" | 32 | PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11" |
33 | 33 | ||
34 | LDFLAGS_append_x86-64 = " -lgcc" | 34 | LDFLAGS_append_libc-glibc_x86-64 = " -lgcc" |
35 | LDFLAGS_append_libc-glibc_x86 = " -lgcc" | ||
35 | 36 | ||
36 | inherit autotools gettext pkgconfig | 37 | inherit autotools gettext pkgconfig |
37 | 38 | ||