make hotplug2 use the build system cflags
[openwrt/svn-archive/archive.git] / package / hotplug2 / patches / 110-depend_fix.patch
1 Index: hotplug2-0.9/common.mak
2 ===================================================================
3 --- hotplug2-0.9.orig/common.mak 2007-06-25 08:08:59.320226312 +0200
4 +++ hotplug2-0.9/common.mak 2007-06-25 08:09:03.541584568 +0200
5 @@ -10,7 +10,7 @@
6 .PHONY: all clean dep install install-recursive clean-recursive \
7 dep-recursive all-recursive
8
9 -MAKEDEP=-gcc $(CFLAGS) -MM $(wildcard *.c *.cc) > .depend
10 +MAKEDEP=-$(CC) $(CFLAGS) -MM $(wildcard *.c *.cc) > .depend
11 dep: dep-recursive
12 $(MAKEDEP)
13 .depend: