From 91025d22c7d3f5388f27bb46f3966e10e978f2ed Mon Sep 17 00:00:00 2001 From: jacob Date: Thu, 10 Jun 2004 23:16:45 +0000 Subject: [PATCH] Update for new errata kernel (2.4.20-31.9) --- lustre/kernel_patches/targets/rh-2.4.target | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lustre/kernel_patches/targets/rh-2.4.target b/lustre/kernel_patches/targets/rh-2.4.target index f7e04c1..4d48c43 100644 --- a/lustre/kernel_patches/targets/rh-2.4.target +++ b/lustre/kernel_patches/targets/rh-2.4.target @@ -11,3 +11,11 @@ JENSEN_ARCHS="" SMP_ARCHS="i686" UP_ARCHS="" SRC_ARCHS="i686" + +# the modules in this kernel do not build with gcc 3 +for cc in i386-redhat-linux-gcc-2.96 gcc296 gcc ; do + if which $cc >/dev/null 2>/dev/null ; then + CC=$cc + break + fi +done -- 1.8.3.1