Whamcloud - gitweb
Update for new errata kernel (2.4.20-31.9)
authorjacob <jacob>
Thu, 10 Jun 2004 23:16:45 +0000 (23:16 +0000)
committerjacob <jacob>
Thu, 10 Jun 2004 23:16:45 +0000 (23:16 +0000)
lustre/kernel_patches/targets/rh-2.4.target

index f7e04c1..4d48c43 100644 (file)
@@ -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