patch-2.4.27 linux-2.4.27/arch/sparc/Makefile

Next file: linux-2.4.27/arch/sparc/kernel/process.c
Previous file: linux-2.4.27/arch/sh64/vmlinux.lds.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/arch/sparc/Makefile linux-2.4.27/arch/sparc/Makefile
@@ -16,7 +16,7 @@
 # debugging of the kernel to get the proper debugging information.
 
 IS_EGCS := $(shell if $(CC) -m32 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo y; else echo n; fi; )
-NEW_GAS := $(shell if $(LD) --version 2>&1 | grep 'elf64_sparc' > /dev/null; 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)
 
 ifeq ($(NEW_GAS),y)
 AS              := $(AS) -32

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)