build: rules.mk: allow overriding of HOSTCC and HOSTCXX
authorPetr Štetiar <ynezz@true.cz>
Sat, 20 Jul 2019 10:34:02 +0000 (12:34 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 23 Jul 2019 20:07:22 +0000 (22:07 +0200)
commit7bb23a35b934c99826d642b25a5d4f828fdd2339
treef99b5a9a1fd32442f7d66852799737097cb066c0
parent267f431b735c03f4b7918a0afeb6d37f17e71103
build: rules.mk: allow overriding of HOSTCC and HOSTCXX

Currently it's not possible to change the host compiler version during
devlopment/test/fixing and one has to always hand edit rules.mk which is
tiresome, so let's allow changing of those variables from make/env vars.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
rules.mk