From 11d575cd28975565530aa3273bcf88c23b05522a Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sat, 15 Dec 2001 02:37:06 +0000 Subject: [PATCH] prevented CFLAGS from gettings written twice to .buildvars --- scripts/linux_flags/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/linux_flags/Makefile b/scripts/linux_flags/Makefile index c535794a..be6d6284 100644 --- a/scripts/linux_flags/Makefile +++ b/scripts/linux_flags/Makefile @@ -7,7 +7,6 @@ all: modules: echo LINUXDIR=$(LINUXDIR) >flags echo ARCH=$(ARCH) >>flags - echo CFLAGS="$(CFLAGS)" >>flags echo AFLAGS="$(AFLAGS)" >>flags echo LDFLAGS="$(LDFLAGS)" >>flags echo ARFLAGS="$(ARFLAGS)" >>flags @@ -18,6 +17,7 @@ ifneq (,$(findstring __KERNEL__,$(CC))) echo CFLAGS="$(wordlist 2,100,$(CC)) $(CFLAGS)" >>flags echo CC=$(word 1,$(CC)) >>flags else + echo CFLAGS="$(CFLAGS)" >>flags echo CC="$(CC)" >>flags endif echo LD="$(LD)" >>flags -- 2.26.2