Messages in this thread Patch in this message | | | Subject | 2.2.18pre12 fix for some distros | Date | Sat, 30 Sep 2000 01:16:21 +0100 (BST) | From | Alan Cox <> |
| |
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/
| |