From fca23c5a4c88357fbf409c161c3ef3ade1350ec8 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 25 Jan 2017 11:22:12 -0500 Subject: [PATCH] jjb: Use gcc-4.9 to cross-compile modules Signed-off-by: Michael Jeanson --- scripts/lttng-modules/param-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}" -- 2.34.1