build_package.sh: Dump compiler version directly before calling make

This information will go into the build.log and is useful bit of
statistics about the build, especially that we have a situation that
one toolchain is "substituted" for another (see e.g. 013f633fd180).

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: Ia7d67253dcab77257fb58fcb2f55441d85cf99c1
diff --git a/script/build_package.sh b/script/build_package.sh
index b5b6d46..741c797 100755
--- a/script/build_package.sh
+++ b/script/build_package.sh
@@ -539,6 +539,8 @@
 Build command line:
 	$tf_build_wrapper make $make_j_opts $(cat "$config_file" | tr '\n' ' ') DEBUG=$DEBUG V=1 $build_targets
 
+CC version:
+$(${CC-${CROSS_COMPILE}gcc} -v 2>&1)
 EOF
 
 	if not_upon "$local_ci"; then