diff options
Diffstat (limited to 'Makeconfig')
-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)) |