jjb: Use gcc-4.9 to cross-compile modules
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 25 Jan 2017 16:22:12 +0000 (11:22 -0500)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 25 Jan 2017 16:22:12 +0000 (11:22 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/lttng-modules/param-build.sh

index 5c086e296e666e807148dc94958e59724f88f71e..6220bf558249ac17c50439e1c5fe0a4b321115aa 100644 (file)
@@ -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}"
This page took 0.02466 seconds and 4 git commands to generate.