build: Do not hardcode gcc in depend.sh.
authorAndre Noll <maan@systemlinux.org>
Thu, 24 Jul 2014 20:42:28 +0000 (22:42 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 31 Jul 2014 18:01:14 +0000 (20:01 +0200)
commitfc030471140717e044a66f5654d1ebcf09d42503
treecdb1a0e3a4bfdfa22096b016040906ef3f224c96
parentf1420ef5b0c5db7adb5109885ac04745365a1cfa
build: Do not hardcode gcc in depend.sh.

Although the clang compiler understands the -MM and -MG options,
we currently rely on gcc to generate the dependency files. Of course
this fails on systems where only clang is installed. The right fix
would be to use the make variable $(CC), but let's go for the minimal
fix that replaces gcc by cc in depend.sh for now.
depend.sh