From: Michael Jeanson Date: Wed, 25 Jan 2017 16:22:12 +0000 (-0500) Subject: jjb: Use gcc-4.9 to cross-compile modules X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fca23c5a4c88357fbf409c161c3ef3ade1350ec8;p=lttng-ci.git jjb: Use gcc-4.9 to cross-compile modules Signed-off-by: Michael Jeanson --- diff --git a/scripts/lttng-modules/param-build.sh b/scripts/lttng-modules/param-build.sh index 5c086e2..6220bf5 100644 --- a/scripts/lttng-modules/param-build.sh +++ b/scripts/lttng-modules/param-build.sh @@ -202,8 +202,8 @@ if [ "x${cross_arch:-}" != "x" ]; then ;; esac - # Use default gcc when cross-compiling - CC="${cross_compile}gcc" + # Use gcc 4.9, older kernel don't build with gcc 5 + CC="${cross_compile}gcc-4.9" # Export variables used by Kbuild for cross compilation export ARCH="${karch}"