2.2.18pre12 fix for some distros

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Sep 29 2000 - 19:16:21 EST


Those distros that use which versions that are alias magic in bash
need this to build 2.2.18pre12

--- Makefile~ Sat Sep 30 00:01:26 2000
+++ Makefile Sat Sep 30 00:10:28 2000
@@ -22,8 +22,8 @@
 
 AS =$(CROSS_COMPILE)as
 LD =$(CROSS_COMPILE)ld
-CC =$(CROSS_COMPILE)$(shell if [ -n "`which gcc272 2>/dev/null`" ]; then echo "`which gcc272`";\
- else if [ -n "`which kgcc 2>/dev/null`" ]; then echo "`which kgcc`"; else\
+CC =$(CROSS_COMPILE)$(shell if [ -n "`which gcc272 >/dev/null 2>/dev/null`" ]; then echo "`which gcc272`";\
+ else if [ -n "`which kgcc >/dev/null 2>/dev/null`" ]; then echo "`which kgcc`"; else\
         echo "cc"; fi ; fi) -D__KERNEL__ -I$(HPATH)
 CPP =$(CC) -E
 AR =$(CROSS_COMPILE)ar

(thanks to Jens for finding that)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:26 EST