diff options
Diffstat (limited to 'newlib/Makefile.in')
-rw-r--r-- | newlib/Makefile.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/newlib/Makefile.in b/newlib/Makefile.in index 6c0845c6d..cafce533c 100644 --- a/newlib/Makefile.in +++ b/newlib/Makefile.in @@ -67,6 +67,8 @@ CC_FOR_BUILD = @CC_FOR_BUILD@ CPP = @CPP@ CRT0 = @CRT0@ CRT0_DIR = @CRT0_DIR@ +CRT1 = @CRT1@ +CRT1_DIR = @CRT1_DIR@ DLLTOOL = @DLLTOOL@ EXEEXT = @EXEEXT@ LDFLAGS = @LDFLAGS@ @@ -164,7 +166,7 @@ AR_FLAGS = rc noinst_DATA = stmp-targ-include -toollib_DATA = $(CRT0) +toollib_DATA = $(CRT0) $(CRT1) # The functions ldexp, frexp and modf are traditionally supplied in # both libc.a and libm.a. We build them in libm.a and copy them over, @@ -678,6 +680,13 @@ crt0.o: $(CRT0_DIR)/$(CRT0) $(CRT0_DIR)/$(CRT0): ; @true +crt1.o: $(CRT1_DIR)/$(CRT1) + rm -f $@ + ln $(CRT0_DIR)/$(CRT0) $@ >/dev/null 2>/dev/null \ + || cp $(CRT0_DIR)/$(CRT0) $@ + +$(CRT1_DIR)/$(CRT1): ; @true + all-recursive: stmp-targ-include # The targ-include directory just holds the includes files for the |