Use -Xlinker in gcc.sh

Prevents "linker input file unused because linking not done" warnings
parent 8278a625
......@@ -19,8 +19,8 @@ LIBRARY_PATH="$ROOT/usr/lib" \
--sysroot "$ROOT" \
-undef -imacros "$ROOT/define.h" \
"$@" \
"$ROOT/usr/lib/crt0.o" \
"$ROOT/usr/lib/libm.a" \
"$ROOT/usr/lib/libgcc.a" \
"$ROOT/usr/lib/libc.a" \
-Xlinker "$ROOT/usr/lib/crt0.o" \
-Xlinker "$ROOT/usr/lib/libm.a" \
-Xlinker "$ROOT/usr/lib/libgcc.a" \
-Xlinker "$ROOT/usr/lib/libc.a" \
-specs=$ROOT/gcc.spec
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