Browse Source

Pass $(CFLAFS) to $(MKDEP) so that it's consistent with compiler invocation.

Maxim Sobolev 18 years ago
parent
commit
2e3486a0d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile.rules

+ 1 - 1
Makefile.rules

@@ -27,7 +27,7 @@
 	$(CC) $(CFLAGS) $(INCLUDES) $(DEFS) -c $< -o $@
 
 %.d: %.c $(ALLDEP)
-	@set -e; $(MKDEP) $(INCLUDES) $(DEFS) $< \
+	@set -e; $(MKDEP) $(CFLAGS) $(INCLUDES) $(DEFS) $< \
 	|  sed 's#\(\($*D)\)\?$(*F)\)\.o[ :]*#$*.o $@ : #g' > $@; \
 	[ -s $@ ] || rm -f $@