projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20aeac4
)
prevented CFLAGS from gettings written twice to .buildvars
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 15 Dec 2001 02:37:06 +0000
(
02:37
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 15 Dec 2001 02:37:06 +0000
(
02:37
+0000)
scripts/linux_flags/Makefile
patch
|
blob
|
history
diff --git
a/scripts/linux_flags/Makefile
b/scripts/linux_flags/Makefile
index c535794a8802219c0bb636263c1111a3ae9bfa02..be6d6284181f0bb6fc50218bfa80a05d209e8d3d 100644
(file)
--- 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