From: Frank Mori Hess Date: Sat, 15 Dec 2001 02:37:06 +0000 (+0000) Subject: prevented CFLAGS from gettings written twice to .buildvars X-Git-Tag: r0_7_62~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=11d575cd28975565530aa3273bcf88c23b05522a;p=comedi.git prevented CFLAGS from gettings written twice to .buildvars --- 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