From 9ed7f82dc841c84cc83ad9af5e9d7be8025e9199 Mon Sep 17 00:00:00 2001 From: leitner Date: Wed, 27 Jan 2016 18:59:38 +0000 Subject: [PATCH] ar -> $(CROSS)ar --- GNUmakefile | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index fa9f390..e2f0727 100644 --- a/GNUmakefile +++ b/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 \ diff --git a/Makefile b/Makefile index cc4f566..ab87054 100644 --- a/Makefile +++ b/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 \