diff options
author | Roland McGrath <roland@gnu.org> | 1992-09-18 21:53:38 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1992-09-18 21:53:38 +0000 |
commit | f9eb30a9ba196fab7d768ebb8b46a2048c6e1b95 (patch) | |
tree | a4cbc11dfd00bee45d44dccd315b37417f19de1d /Makeconfig | |
parent | c5287e4c31e29706a2f257ade09913302da7ebae (diff) |
Formerly ../Makeconfig.~49~
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makeconfig b/Makeconfig index d0dfb14107..57f983b561 100644 --- a/Makeconfig +++ b/Makeconfig @@ -201,7 +201,7 @@ endif # if using GNU ld (which you should do if possible). If you do this, you # may need the GNU assembler as well. If you don't do this, your library # won't work as well (and won't be strictly compliant with the ANSI C -# standard). +# and POSIX.1 standards). +defines = $(defines) $(gnu_ld) $(gnu_as) # Default flags to pass the C compiler. @@ -220,7 +220,10 @@ endif # Command for linking programs with the C library. ifndef +link +link = $(CC) -nostdlib -o $@ $(common-objpfx)start.o $(^:lib=$(libc.a)) \ - -lgcc $(libc.a) + $(gnulib) $(libc.a) +endif +ifndef gnulib +gnulib := -lgcc endif ifndef LD |