From: Roland McGrath Date: Mon, 6 Jan 2003 00:41:51 +0000 (+0000) Subject: 2003-01-04 Roland McGrath X-Git-Tag: cvs/glibc-2_3_2~359 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30077d51f6a25522ec5fc4dbcfd7ff35319b3766;p=thirdparty%2Fglibc.git 2003-01-04 Roland McGrath * Makeconfig (+mkdep): Add -MP flag. Suggested by Art Haas . --- diff --git a/Makeconfig b/Makeconfig index 0a43b9c8dc8..78852dc234e 100644 --- a/Makeconfig +++ b/Makeconfig @@ -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.