Commit 904eddf8 authored by Jeremy Soller's avatar Jeremy Soller

Force libm, libc, libgcc to be linked

parent fd716b6d
......@@ -7,9 +7,12 @@ then
gcc -v \
-static -nostartfiles -nostdlib -nodefaultlibs \
-undef -imacros "$ROOT/define.h" \
"$ROOT/usr/lib/crt0.o" \
-fno-stack-protector -U_FORTIFY_SOURCE \
"$@"
"$@" \
"$ROOT/usr/lib/crt0.o" \
"$ROOT/usr/lib/libm.a" \
"$ROOT/usr/lib/libc.a" \
"$ROOT/usr/lib/libgcc.a"
else
echo "$0: `uname` not supported"
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment