All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Use $(LD) -V for NEW_GAS check [4/4]
@ 2004-05-06 22:40 Joshua Kwan
  2004-05-07 22:17 ` David S. Miller
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Joshua Kwan @ 2004-05-06 22:40 UTC (permalink / raw)
  To: sparclinux


[-- Attachment #1.1: Type: text/plain, Size: 184 bytes --]

patch 4: use $(LD) -V for NEW_GAS check.

This bug crept up because I have a bi-architecture (32/64) binutils, and
unreasonable defaults sent my build to hell.

-- 
Joshua Kwan

[-- Attachment #1.2: 04_sparc32_use_ld_-V.diff --]
[-- Type: text/plain, Size: 637 bytes --]

--- kernel-source-2.4.26/arch/sparc/Makefile~	2004-04-26 09:33:48.000000000 -0700
+++ kernel-source-2.4.26/arch/sparc/Makefile	2004-04-26 09:34:23.000000000 -0700
@@ -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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 881 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-05-09  2:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-06 22:40 [PATCH] Use $(LD) -V for NEW_GAS check [4/4] Joshua Kwan
2004-05-07 22:17 ` David S. Miller
2004-05-07 23:33 ` Joshua Kwan
2004-05-08  0:22 ` David S. Miller
2004-05-08  1:18 ` Joshua Kwan
2004-05-08 20:03 ` David S. Miller
2004-05-08 21:04 ` Joshua Kwan
2004-05-09  0:14 ` David S. Miller
2004-05-09  0:49 ` Joshua Kwan
2004-05-09  2:25 ` David S. Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.