]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly GNUmakefile.~86~
authorRoland McGrath <roland@redhat.com>
Fri, 8 Jan 1993 21:49:21 +0000 (21:49 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 8 Jan 1993 21:49:21 +0000 (21:49 +0000)
GNUmakefile

index dc7c924fe91c1c391a348c1aef29e94edc0bb392..b9ae65496233d9a9dfd74d35d69a1ed536ad3712 100644 (file)
@@ -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