r=adilger@clusterfs.com
When both gcc33 and gcc32 are available, we should use gcc33
SMP_ARCHS="i686 x86_64 ia64"
UP_ARCHS=""
-# the modules in this kernel do not build with gcc 3.3 or 2.96
-for cc in gcc32 gcc33 ; do
+# Modules in this kernel do not build with gcc 4 or gcc 2.96
+for cc in gcc33 gcc32 ; do
if which $cc >/dev/null 2>/dev/null ; then
export CC=$cc
break
UP_ARCHS=""
# the modules in this kernel do not build with gcc 4, 3.4, or 2.96
-for cc in gcc32 gcc33 ; do
+for cc in gcc33 gcc32 ; do
if which $cc >/dev/null 2>/dev/null ; then
export CC=$cc
break
SMP_ARCHS="i686"
UP_ARCHS=""
-# the modules in this kernel do not build with gcc 3.3 or 2.96
-for cc in gcc32 gcc33 ; do
+# the modules in this kernel do not build with gcc 4 or 2.96
+for cc in gcc33 gcc32 ; do
if which $cc >/dev/null 2>/dev/null ; then
export CC=$cc
break