projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46a7c97
)
Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
author
Roland McGrath
<roland@gnu.org>
Fri, 29 Mar 1996 21:13:27 +0000
(21:13 +0000)
committer
Roland McGrath
<roland@gnu.org>
Fri, 29 Mar 1996 21:13:27 +0000
(21:13 +0000)
* Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
Makeconfig
patch
|
blob
|
history
diff --git
a/Makeconfig
b/Makeconfig
index
fe4db0b
..
3273675
100644
(file)
--- 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))