From b0a408ac6336e7ea4730424068ce78ad859a0c2b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 2 Apr 2012 16:10:01 +0300 Subject: [PATCH] Makefile: use $(CC) as a compilers instead of $(CC)/gcc CC: Chris Mason Signed-off-by: Sergei Trofimovich --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 79818e6..ebfd5c8 100644 --- a/Makefile +++ b/Makefile @@ -44,13 +44,13 @@ btrfs: $(objects) btrfs.o help.o common.o $(cmds_objects) $(objects) $(LDFLAGS) $(LIBS) -lpthread calc-size: $(objects) calc-size.o - gcc $(CFLAGS) -o calc-size calc-size.o $(objects) $(LDFLAGS) $(LIBS) + $(CC) $(CFLAGS) -o calc-size calc-size.o $(objects) $(LDFLAGS) $(LIBS) btrfs-find-root: $(objects) find-root.o - gcc $(CFLAGS) -o btrfs-find-root find-root.o $(objects) $(LDFLAGS) $(LIBS) + $(CC) $(CFLAGS) -o btrfs-find-root find-root.o $(objects) $(LDFLAGS) $(LIBS) btrfs-restore: $(objects) restore.o - gcc $(CFLAGS) -o btrfs-restore restore.o $(objects) $(LDFLAGS) $(LIBS) $(RESTORE_LIBS) + $(CC) $(CFLAGS) -o btrfs-restore restore.o $(objects) $(LDFLAGS) $(LIBS) $(RESTORE_LIBS) btrfsctl: $(objects) btrfsctl.o $(CC) $(CFLAGS) -o btrfsctl btrfsctl.o $(objects) $(LDFLAGS) $(LIBS) -- 2.7.4