axel-2.4-buildsystem.patch 566 B

123456789101112131415161718192021222324
  1. Makefile | 4 ++--
  2. 1 files changed, 2 insertions(+), 2 deletions(-)
  3. diff --git a/Makefile b/Makefile
  4. index 1c3863a..b43fcff 100644
  5. --- a/Makefile
  6. +++ b/Makefile
  7. @@ -51,13 +51,13 @@ uninstall-etc:
  8. ### MAIN PROGRAM
  9. $(OUTFILE): axel.o conf.o conn.o ftp.o http.o search.o tcp.o text.o
  10. - $(CC) *.o -o $(OUTFILE) $(LFLAGS)
  11. + $(CC) $(LDFLAGS) *.o -o $(OUTFILE) $(LFLAGS)
  12. ifndef DEBUG
  13. -$(STRIP) $(OUTFILE)
  14. endif
  15. .c.o:
  16. - $(CC) -c $*.c -o $*.o -Wall $(CFLAGS)
  17. + $(CC) $(CPPFLAGS) -c $*.c -o $*.o -Wall $(CFLAGS)
  18. install-bin:
  19. mkdir -p $(DESTDIR)$(BINDIR)/