Use $(CC) in check for egcs/gcc3 [2/4]
PATCH 1/1 Use $(CC) in check for egcs/gcc3 [2/4]
patch 2: use $(CC) in check for egcs/gcc3
The makefile currentsly hardcodes 'gcc' in its test. This is not good if 'gcc' points to an i386-linux-gcc :)
(The patch explains itself. However, note that it doesn't address)
Signature · 1 line
Joshua Kwan
arch/sparc64/Makefile~ renamed from arch/sparc64/Makefile +1 -1
@@ -12,7 +12,7 @@ # line... SHELL =/bin/bash -CC := $(shell if gcc -m64 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo gcc; else echo sparc64-linux-gcc; fi ) +CC := $(shell if $(CC) -m64 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo $(CC); else echo sparc64-linux-gcc; fi ) NEW_GCC := $(shell if $(CC) -m64 -mcmodel=medlow -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo y; else echo n; fi; ) NEW_GAS := $(shell if $(LD) -V 2>&1 | grep 'elf64_sparc' > /dev/null; then echo y; else echo n; fi)
Quoted 1 line · Joshua Kwan
(The patch explains itself. However, note that it doesn't address)
I was going to complete that unfinished thought, but after further consideration, that last sentence should have been erased.
</major list flood>
Signature · 1 line
Joshua Kwan
David S. Miller
AppliedQuoted 1 line · On Thu, 6 May 2004 15:35:35 -0700 [email protected] (Joshua Kwan) wrote:
patch 2: use $(CC) in check for egcs/gcc3
Applied.