summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-03-06 13:55:30 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-03-06 13:55:30 +0000
commit17711993eed846f6a475603096a96688a94b416d (patch)
treee994e76b3b39c879a0970c9b47671f2a6fe634db
parent033aafb6b8debf84f4413b9ee70c9a90987b520c (diff)
downloaddrakx-17711993eed846f6a475603096a96688a94b416d.tar
drakx-17711993eed846f6a475603096a96688a94b416d.tar.gz
drakx-17711993eed846f6a475603096a96688a94b416d.tar.bz2
drakx-17711993eed846f6a475603096a96688a94b416d.tar.xz
drakx-17711993eed846f6a475603096a96688a94b416d.zip
fix includes for init
-rw-r--r--mdk-stage1/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile
index 530c8b9b2..d6135bc8b 100644
--- a/mdk-stage1/Makefile
+++ b/mdk-stage1/Makefile
@@ -39,7 +39,7 @@ INITSRC = minilibc.c init.c
INIT_DEFS = -DINIT_HEADERS=\"minilibc.h\"
else
INITSRC = init.c
-INIT_DEFS = -DINIT_HEADERS=\"init-libc-headers.h\"
+INIT_DEFS = -DINIT_HEADERS=\"init-libc-headers.h\" $(DIETLIBC_INCLUDES)
endif
INITOBJS = $(subst .c,.o,$(INITSRC))
@@ -175,7 +175,7 @@ $(STAGE1OBJS-NETWORK): %-NETWORK.o: %.c .depend
$(COMPILE) $(GLIBC_INCLUDES) $(NETWORK_DEFS) -c $< -o $@
$(INITOBJS): %.o: %.c
- $(COMPILE) $(INIT_DEFS) $(DIETLIBC_INCLUDES) -c $<
+ $(COMPILE) $(INIT_DEFS) -c $<
.c.o: .depend
$(COMPILE) $(GLIBC_INCLUDES) $(PCMCIA_DEFS) -c $<