summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-01-08 21:49:21 +0000
committerRoland McGrath <roland@redhat.com>1993-01-08 21:49:21 +0000
commit50a643208f3035fd5471b505033adbd33b942d92 (patch)
tree42a039c7b3e3996c01955dfd56d0fa19a43729bf
parent92cd154b9542bc66afa6a26e788f0d55682633a7 (diff)
downloadgunmake-50a643208f3035fd5471b505033adbd33b942d92.tar.gz
Formerly GNUmakefile.~86~
-rw-r--r--GNUmakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index dc7c924..b9ae654 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -71,7 +71,9 @@ endif # !no_libc
$(ARCH)/%.o: %.c
$(COMPILE.c) -Iglob $< $(OUTPUT_OPTION)
$(ARCH)/glob/libglob.a:
- $(MAKE) -C $(@D) $(@F)
+ $(MAKE) -C $(@D) $(@F) \
+ CC='$(CC)' CFLAGS='$(CFLAGS) -I..' \
+ CPPFLAGS='$(CPPFLAGS) -DHAVE_CONFIG_H'
.PHONY: $(ARCH)/glob/libglob.a
objs := $(addprefix $(ARCH)/,$(objs))
prog := $(ARCH)/make