From: jacob Date: Thu, 10 Jun 2004 23:16:45 +0000 (+0000) Subject: Update for new errata kernel (2.4.20-31.9) X-Git-Tag: v1_7_100~1^36~19 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=91025d22c7d3f5388f27bb46f3966e10e978f2ed;p=fs%2Flustre-release.git Update for new errata kernel (2.4.20-31.9) --- 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