From 3a71405fe2f65aa4e5f3d69a291e9edafe661840 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 6 Sep 2000 18:13:38 +0000 Subject: [PATCH] * Makefile.in (CFLAGS): Ensure that -MD is always added even when CFLAGS is overwritten. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/Makefile.in | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1f8a62501..95110eac7 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Wed Sep 6 14:11:51 2000 Christopher Faylor + + * Makefile.in (CFLAGS): Ensure that -MD is always added even when + CFLAGS is overwritten. + Wed Sep 6 02:40:12 2000 Christopher Faylor * path.cc (cwdstuff::get_initial): Keep caching alive. diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index e57329dd5..f58d9c3f2 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -50,7 +50,8 @@ DEFS = @DEFS@ CC:=@CC@ # FIXME: Which is it, CC or CC_FOR_TARGET? CC_FOR_TARGET:=$(CC) -CFLAGS:=@CFLAGS@ -MD -fno-implement-inlines +CFLAGS:=@CFLAGS@ +CFLAGS+=-MD CXXFLAGS:=@CXXFLAGS@ # For linking mount, etc. crt0.o isn't accessable in a fresh build.