Skip to content

Commit

Permalink
Merge pull request #5 from ids1024/xlinker
Browse files Browse the repository at this point in the history
Use -Xlinker in gcc.sh
  • Loading branch information
jackpot51 authored Apr 9, 2017
2 parents 8278a62 + 0fe2b73 commit ecd2edd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ecd2edd

Please sign in to comment.