summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-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 $<