This change causes .travis.yml to use the compilers configured in the $CC and $CXX variables. Additionally, make the configure script show the compiler names. Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> --- configure | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure b/configure index c02a97875862..223192b8a5f9 100755 --- a/configure +++ b/configure @@ -9,8 +9,8 @@ else TMPDIR1="/tmp" fi -cc=gcc -cxx=g++ +cc=${CC:-gcc} +cxx=${CXX:-g++} for opt do optarg=$(expr "x$opt" : 'x[^=]*=\(.*\)') @@ -315,7 +315,9 @@ if test "$has_cxx" = "yes"; then fi echo "CC=$cc" >> $config_host_mak +print_config "CC" "$cc" echo "CXX=$cxx" >> $config_host_mak +print_config "CXX" "$cxx" # generate compat.h compat_h="src/include/liburing/compat.h"