summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-08-24 18:37:45 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-08-24 18:37:45 +0000
commita1c0fbf2e70fa42b7bf3f0167b9b564dccd6bc4c (patch)
treef94f8225f7c56f64cc40cd07e22db8e19113cb5d
parente5dbee83584d5a366944d477da178688d9737928 (diff)
downloaddrakx-backup-do-not-use-a1c0fbf2e70fa42b7bf3f0167b9b564dccd6bc4c.tar
drakx-backup-do-not-use-a1c0fbf2e70fa42b7bf3f0167b9b564dccd6bc4c.tar.gz
drakx-backup-do-not-use-a1c0fbf2e70fa42b7bf3f0167b9b564dccd6bc4c.tar.bz2
drakx-backup-do-not-use-a1c0fbf2e70fa42b7bf3f0167b9b564dccd6bc4c.tar.xz
drakx-backup-do-not-use-a1c0fbf2e70fa42b7bf3f0167b9b564dccd6bc4c.zip
use CC rather than gcc statically
-rw-r--r--mdk-stage1/bzlib/Makefile4
-rw-r--r--mdk-stage1/dietlibc/Makefile2
2 files changed, 2 insertions, 4 deletions
diff --git a/mdk-stage1/bzlib/Makefile b/mdk-stage1/bzlib/Makefile
index 6b4f29ffc..03a2c254b 100644
--- a/mdk-stage1/bzlib/Makefile
+++ b/mdk-stage1/bzlib/Makefile
@@ -49,7 +49,7 @@ $(LIBNAME)-DIET.a: $(OBJS-DIET)
ranlib $@
$(OBJS): %.o: %.c
- gcc $(CFLAGS) $(DEFS) $(INCS) $(GLIBC_INCLUDES) -c $< -o $@
+ $(CC) $(CFLAGS) $(DEFS) $(INCS) $(GLIBC_INCLUDES) -c $< -o $@
$(OBJS-DIET): %-DIET.o: %.c
- gcc $(CFLAGS) $(DEFS) $(INCS) $(DIETLIBC_INCLUDES) -c $< -o $@
+ $(CC) $(CFLAGS) $(DEFS) $(INCS) $(DIETLIBC_INCLUDES) -c $< -o $@
diff --git a/mdk-stage1/dietlibc/Makefile b/mdk-stage1/dietlibc/Makefile
index 81ef7a2e6..b6e7b2783 100644
--- a/mdk-stage1/dietlibc/Makefile
+++ b/mdk-stage1/dietlibc/Makefile
@@ -7,8 +7,6 @@ all: $(OBJDIR) $(OBJDIR)/start.o $(OBJDIR)/dietlibc.a $(OBJDIR)/liblatin1.a $(OB
CFLAGS=-pipe
CROSS=
-CC=gcc
-
VPATH=lib:libstdio:libugly:libcruft:libcrypt:libshell:liblatin1:librpc:libregex:syscalls.c
SYSCALLOBJ=$(patsubst syscalls.s/%.S,$(OBJDIR)/%.o,$(wildcard syscalls.s/*.S))