diff options
author | Roland McGrath <roland@gnu.org> | 1996-03-29 21:13:27 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-03-29 21:13:27 +0000 |
commit | ac157523bdc7ccb90a670f54f16957b8ea651ce0 (patch) | |
tree | 988429fb489edbf536700d6b7271dccf180079cb | |
parent | 46a7c9767911405668cb0510af7ed97fd9493912 (diff) | |
download | glibc-ac157523bdc7ccb90a670f54f16957b8ea651ce0.tar.gz glibc-ac157523bdc7ccb90a670f54f16957b8ea651ce0.tar.xz glibc-ac157523bdc7ccb90a670f54f16957b8ea651ce0.zip |
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-- | Makeconfig | 5 |
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)) |