build: Use libgcc.a instead of libmescc.a for gcc.
This commit is contained in:
parent
afac5847e7
commit
0b79ca74ea
|
@ -55,7 +55,10 @@ if test $mes_libc = system; then
|
|||
fi
|
||||
if [ "$compiler" = "gcc" ]
|
||||
then
|
||||
LIBS="${LIBS} -lmescc"
|
||||
# Make it possible to resolve raise(), required by libgcc.a, provided in
|
||||
# libc.a. The final command line has to have "-lc -lgcc -lc".
|
||||
# See <https://www.openwall.com/lists/musl/2018/05/09/1>.
|
||||
LIBS="${LIBS} -lgcc -lc"
|
||||
fi
|
||||
link bin/mes-$compiler
|
||||
cp bin/mes-$compiler bin/mes
|
||||
|
|
Loading…
Reference in a new issue