OSDN Git Service

Track dependencies on modified system header files.
authorKeith Marshall <keithmarshall@users.sourceforge.net>
Thu, 18 Jun 2015 06:58:40 +0000 (07:58 +0100)
committerKeith Marshall <keithmarshall@users.sourceforge.net>
Thu, 18 Jun 2015 06:58:40 +0000 (07:58 +0100)
mingwrt/ChangeLog
mingwrt/Makefile.in

index d15c62b..c7861bb 100644 (file)
@@ -1,5 +1,11 @@
 2015-06-18  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
+       Track dependencies on modified system header files.
+
+       * Makefile.in (DEPFLAGS): Use -MD, rather than -MMD.
+
+2015-06-18  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
        Correct an anomaly in stage 1 only build procedure.
 
        * Makefile.in (all-gcc): New goal; it is an alias for...
index 431ec40..1070491 100644 (file)
@@ -135,10 +135,12 @@ configure: configure.ac aclocal.m4
 
 # Capture dependencies conveyed within source files, ensuring that
 # header files are taken from our working source tree, and not from
-# the build-time compiler's installation path.
+# the build-time compiler's installation path.  (Note: we use -MD,
+# and not -MMD in DEPFLAGS; since this package furnishes system
+# headers, we need changes therein to trigger a rebuild).
 #
 sinclude *.d
-DEPFLAGS = -MMD -MP
+DEPFLAGS = -MD -MP
 INCLUDES = -nostdinc -I . -I ${top_srcdir}/include -I ${w32api_srcdir}/include \
   -I ${top_srcdir} -I ${top_srcdir}/profile -iwithprefixbefore include