From 7556c09cbac5c9d8a7a6d9c7c4bb736e2c472366 Mon Sep 17 00:00:00 2001 From: Mats Kärrman Date: Fri, 11 Apr 2014 09:38:21 +0200 Subject: mtd-utils: integck: Use $(CC) and $(AR) instead of 'gcc' and 'ar' consistently Not using the macros may be a problem when cross-compiling. Signed-off-by: Mats Karrman Signed-off-by: Artem Bityutskiy --- tests/fs-tests/integrity/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/fs-tests/integrity/Makefile b/tests/fs-tests/integrity/Makefile index 4d6fc7d..b64bad9 100644 --- a/tests/fs-tests/integrity/Makefile +++ b/tests/fs-tests/integrity/Makefile @@ -18,14 +18,14 @@ all: $(TARGETS) # Compile ubilib libubi.a: $(CC) $(CFLAGS) -c $(LIBUBI_PATH)/libubi.c -o libubi.o - ar cr libubi.a libubi.o + $(AR) cr libubi.a libubi.o $(TARGETS): libubi.a # Disable optimizations to make it possible to use gdb comfortably # Use -rdynamic to have stack backtraces debug: libubi.a - gcc $(CFLAGS) -O0 -D INTEGCK_DEBUG -rdynamic integck.c libubi.a -o integck + $(CC) $(CFLAGS) -O0 -D INTEGCK_DEBUG -rdynamic integck.c libubi.a -o integck clean: rm -f *.o $(TARGETS) libubi.a -- cgit v1.2.3