Explorar o código

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

Maxim Sobolev %!s(int64=18) %!d(string=hai) anos
pai
achega
2e3486a0d0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 $@