diff options
author | Roland McGrath <roland@gnu.org> | 2003-01-06 00:41:51 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-01-06 00:41:51 +0000 |
commit | 30077d51f6a25522ec5fc4dbcfd7ff35319b3766 (patch) | |
tree | 991fd6f7491fe1a00b707e6ed218b55d3bd05c5d | |
parent | d7e650c008df10afb01fef7282885b912ac37054 (diff) | |
download | glibc-30077d51f6a25522ec5fc4dbcfd7ff35319b3766.zip glibc-30077d51f6a25522ec5fc4dbcfd7ff35319b3766.tar.gz glibc-30077d51f6a25522ec5fc4dbcfd7ff35319b3766.tar.bz2 |
2003-01-04 Roland McGrath <roland@redhat.com>
* Makeconfig (+mkdep): Add -MP flag.
Suggested by Art Haas <ahaas@airmail.net>.
-rw-r--r-- | Makeconfig | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,4 +1,4 @@ -# Copyright (C) 1991-2000,01,02 Free Software Foundation, Inc. +# Copyright (C) 1991-2000,01,02, 03 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -553,10 +553,11 @@ else +gccwarn := -Wall -Wwrite-strings -Winline -Wstrict-prototypes endif -# This is the program that generates makefile -# dependencies from C source files. +# This is the program that generates makefile dependencies from C source files. +# The -MP flag tells GCC >= 3.2 (which we now require) to produce dummy +# targets for headers so that removed headers don't break the build. ifndef +mkdep -+mkdep = $(CC) -M ++mkdep = $(CC) -M -MP endif # The program that makes Emacs-style TAGS files. |