]> git.tuebingen.mpg.de Git - osl.git/commit
Set CC to gcc by default.
authorAndre Noll <maan@systemlinux.org>
Mon, 2 Nov 2009 13:39:16 +0000 (14:39 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 2 Nov 2009 13:39:16 +0000 (14:39 +0100)
commitbc025530248c52e31a629b2a8943b2f68e919caa
tree6da7002aa0a01e4dc93420624fc05994df15c719
parentf55deeb0da0fe02cc3ff713e0a02057764b860a0
Set CC to gcc by default.

On systems where cc != gcc, compilation likely fails because we are
using quite some gccisms in osl. So default to gcc but let the user
override the default by setting CC manually.

The straight-forward CC ?= gcc does not work with gnu make as make
assigns CC the default value "cc".

Thanks to Steffen Schmidt for pointing out this shortcoming.
Makefile