mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
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:
parent
46a7c97679
commit
ac157523bd
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user