aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
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 /Makeconfig
parent46a7c9767911405668cb0510af7ed97fd9493912 (diff)
downloadglibc-ac157523bdc7ccb90a670f54f16957b8ea651ce0.zip
glibc-ac157523bdc7ccb90a670f54f16957b8ea651ce0.tar.gz
glibc-ac157523bdc7ccb90a670f54f16957b8ea651ce0.tar.bz2
Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
* Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig5
1 files changed, 0 insertions, 5 deletions
diff --git a/Makeconfig b/Makeconfig
index fe4db0b..3273675 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))