From ac157523bdc7ccb90a670f54f16957b8ea651ce0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 29 Mar 1996 21:13:27 +0000 Subject: Thu Mar 28 18:32:34 1996 Roland McGrath * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally. --- Makeconfig | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Makeconfig') 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)) -- cgit v1.2.3