swupdate: ensure TARGET_CC is used for compiling/linking
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 18 Dec 2018 09:11:06 +0000 (10:11 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 18 Dec 2018 13:41:09 +0000 (14:41 +0100)
commit291ec1d2be2409fddc897a5f6ab28e6b8b56ce38
tree878d5a378d3ac1694351a82407d031ed4c69d1fd
parent44462aa16717bfe0c26216551973a8f3fb3bc881
swupdate: ensure TARGET_CC is used for compiling/linking

Fixes:
http://autobuild.buildroot.net/results/e302d0edb59ff7617b5f2d21f06eb65ae04981fe
http://autobuild.buildroot.net/results/dbb69acadc20b4bb559311348eca276c1e6343f7

Swupdate uses $CROSS-cc instead of $CROSS-gcc, which is not available in all
external toolchains, and use CC for linking. Ensure TARGET_CC is used for both.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/swupdate/swupdate.mk