Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>

* Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
This commit is contained in:
Roland McGrath 1996-03-29 21:13:27 +00:00
parent 46a7c97679
commit ac157523bd
1 changed files with 0 additions and 5 deletions

View File

@ -395,13 +395,8 @@ ifeq "$(strip $(+cflags))" ""
+cflags := $(default_cflags)
endif # $(+cflags) == ""
# If using gcc, add flags that only it will grok.
ifneq "$(findstring gcc,$(CC))" ""
+cflags := $(+cflags) $(+gccwarn)
+gcc-nowarn := -w
else
+gcc-nowarn :=
endif # gcc
# Don't duplicate options if we inherited variables from the parent.
+cflags := $(sort $(+cflags))