Fixed by Kudu commit
Author: Matthew Jacobs <firstname.lastname@example.org>
Date: Mon Feb 13 14:33:06 2017 -0800
KUDU-1870: Fix Boost build to respect CC/CXX
Boost doesn't respect the CC/CXX environment variables, but
they may have been set in the Kudu build environment. This
fixes this issue by configuring Boost's compiler using the
CC/CXX flags if they were set.
- Ran thirdparty build locally, including for tsan. Checked
that gcc/clang appeared to be set appropriately.
- Ran Impala's toolchain build with this change, verifying
the toolchain compiler in CC/CXX was used.
Reviewed-by: Adar Dembo <email@example.com>
Tested-by: Kudu Jenkins
Reviewed-by: Todd Lipcon <firstname.lastname@example.org>