X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fpkg%2Feglibc;fp=stage0%2Fpkg%2Feglibc;h=1c3e0327fe07d24b7c62ffcbf8e9c684ece568b1;hb=0e16274e2c5eed61e3d80546bc26c71940d02841;hp=2f8d9f92834d60b28e5c9661d6269aea27754ec6;hpb=1e03839bad192c7b855bf10f74b137ade30fc237;p=hvlinux.git diff --git a/stage0/pkg/eglibc b/stage0/pkg/eglibc index 2f8d9f9..1c3e032 100644 --- a/stage0/pkg/eglibc +++ b/stage0/pkg/eglibc @@ -23,7 +23,10 @@ hvconfig_pre() decompress_package ${EGLIBC_PORTS} $(pwd) 1> /dev/null - # Disable linking to libgcc_eh: + # libgcc_eh.a does not get built if building GCC with `--disable-shared'. + # The objects that would otherwise end up in libgcc_eh.a end up in libgcc.a + # instead. Unfortunately, Glibc insists upon linking with `-lgcc_eh'. + # Therefore, disable linking to libgcc_eh: sed -e 's/-lgcc_eh//g' -i Makeconfig }