diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-08-12 19:54:22 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-08-12 19:54:22 +0000 |
commit | e245b0593717d774dca5027d2a07f168c3f40add (patch) | |
tree | 05b2564040855b9ca14f7acc4e6555cbec9f7be1 /gcc/config/m68k/m68kemb.h | |
parent | e705aad31eedaed66cbdc9a4937ab71ad71bed45 (diff) | |
download | gcc-e245b0593717d774dca5027d2a07f168c3f40add.tar.gz |
(LIB_SPEC): Always emit -lc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12625 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k/m68kemb.h')
-rw-r--r-- | gcc/config/m68k/m68kemb.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gcc/config/m68k/m68kemb.h b/gcc/config/m68k/m68kemb.h index e7767bfed3c..8ce34742990 100644 --- a/gcc/config/m68k/m68kemb.h +++ b/gcc/config/m68k/m68kemb.h @@ -57,12 +57,16 @@ %{mmvme135: mvme135-crt0.o} \ %{mmvme162: mvme162-crt0.o}" + /* We must always include -lc at least once. If we use a board specific + library, we must include -lc before and after the board specific + library. */ #undef LIB_SPEC #define LIB_SPEC "\ - %{mmvme135: -lc -lmvme135 -lc} \ - %{mmvme162: -lc -lmvme162 -lc} \ - %{midp: -lc -lidp -lc} \ - %{mbcc: -lc -lbcc -lc}" + -lc \ + %{mmvme135:-lmvme135 -lc} \ + %{mmvme162:-lmvme162 -lc} \ + %{midp:-lidp -lc} \ + %{mbcc:-lbcc -lc}" #undef SUBTARGET_SWITCHES #define SUBTARGET_SWITCHES \ |