Browse Source

ar -> $(CROSS)ar

master
Felix von Leitner 6 years ago
parent
commit
290c70e3fa
  1. 4
      GNUmakefile
  2. 4
      Makefile

4
GNUmakefile

@ -153,8 +153,8 @@ CFLAGS+=-I.
$(DIET) $(CC) -c $< $(CFLAGS)
%.a:
ar cru $@ $^
-ranlib $@
$(CROSS)ar cru $@ $^
-$(CROSS)ranlib $@
t.o: t.c fmt.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
buffer.h ip4.h ip6.h byte.h mmap.h open.h textcode.h dns.h iopause.h \

4
Makefile

@ -743,8 +743,8 @@ CFLAGS+=-I.
$(DIET) $(CC) -c $< $(CFLAGS)
%.a:
ar cru $@ $^
-ranlib $@
$(CROSS)ar cru $@ $^
-$(CROSS)ranlib $@
t.o: t.c fmt.h scan.h str.h uint16.h uint32.h stralloc.h socket.h \
buffer.h ip4.h ip6.h byte.h mmap.h open.h textcode.h dns.h iopause.h \

Loading…
Cancel
Save