From abbda2f4719b6e2dc2d3743164497009907d7888 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sun, 7 Sep 2003 01:04:12 +0200 Subject: [PATCH] kbuild: Do not duplicate A/CFLAGS This solves 1193 in bugme as reported by ak@suse.de AFLAGS and CFLAGS contained duplicate entries, both generic and architecture specific flags --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 72ac347919327..8e2f58cea2e4e 100644 --- a/Makefile +++ b/Makefile @@ -344,8 +344,8 @@ endif include arch/$(ARCH)/Makefile # Let architecture Makefiles change CPPFLAGS if needed -CFLAGS += $(CPPFLAGS) $(CFLAGS) -AFLAGS += $(CPPFLAGS) $(AFLAGS) +CFLAGS := $(CPPFLAGS) $(CFLAGS) +AFLAGS := $(CPPFLAGS) $(AFLAGS) core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ -- 2.53.0