From 8a87840cad755405494a79f248e6368bb4b11ed2 Mon Sep 17 00:00:00 2001 From: Francesco Lattanzio Date: Mon, 27 Mar 2017 22:53:51 +0200 Subject: [PATCH] Set a common value for $CC if a unspecified If a value for $CC is not explicitly specified ensure that the same value is used both by buildrump.sh and lib/librumpuser/configure. --- buildrump.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/buildrump.sh b/buildrump.sh index e5f3a93..59bca3c 100755 --- a/buildrump.sh +++ b/buildrump.sh @@ -362,6 +362,7 @@ probe_rumpuserbits () ( export CFLAGS="${EXTRA_CFLAGS}" export LDFLAGS="${EXTRA_LDFLAGS}" export CPPFLAGS="${EXTRA_CPPFLAGS}" + export CC="${CC}" cd ${BRTOOLDIR}/autoconf \ && ${SRCDIR}/lib/librumpuser/configure \ $( ! ${NATIVEBUILD} && echo --host ${CC_TARGET} ) )