summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-03-29 21:13:27 +0000
committerRoland McGrath <roland@gnu.org>1996-03-29 21:13:27 +0000
commitac157523bdc7ccb90a670f54f16957b8ea651ce0 (patch)
tree988429fb489edbf536700d6b7271dccf180079cb
parent46a7c9767911405668cb0510af7ed97fd9493912 (diff)
Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
* Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
-rw-r--r--Makeconfig5
1 files changed, 0 insertions, 5 deletions
diff --git a/Makeconfig b/Makeconfig
index fe4db0ba48..3273675d11 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -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))