build: Don't overwrite CC variable
commit29e8d65ae49ef1c9435fb861b1fc55ef2305d7ed
authorTobias Klauser <tklauser@distanz.ch>
Tue, 9 Sep 2014 12:15:18 +0000 (9 14:15 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Tue, 9 Sep 2014 12:26:09 +0000 (9 14:26 +0200)
tree98c0ee9d417e566a85ae0e9142d4acae3bee053d
parent35edaad835f4f5685e7510b0a6c574c1f138c79c
build: Don't overwrite CC variable

Don't reset the variable CC in the Makefile, but set it to gcc by
default (can be overriden when e.g. compiling with `make CC=clang').
This way we can also have non-verbose compiles with compilers other than
gcc. Furthermore make sure that the CC variable is also respected for
LD.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Cmds
Makefile
Template