From: Roland McGrath Date: Fri, 29 Mar 1996 21:13:27 +0000 (+0000) Subject: Thu Mar 28 18:32:34 1996 Roland McGrath X-Git-Tag: cvs/libc-960330~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac157523bdc7ccb90a670f54f16957b8ea651ce0;p=platform%2Fupstream%2Fglibc.git Thu Mar 28 18:32:34 1996 Roland McGrath * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally. --- 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))