From: joshk@triplehelix.org (Joshua Kwan)
To: sparclinux@vger.kernel.org
Subject: [PATCH] Use $(LD) -V for NEW_GAS check [4/4]
Date: Thu, 06 May 2004 22:40:26 +0000 [thread overview]
Message-ID: <20040506224026.GD29131@triplehelix.org> (raw)
[-- 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 --]
next reply other threads:[~2004-05-06 22:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-06 22:40 Joshua Kwan [this message]
2004-05-07 22:17 ` [PATCH] Use $(LD) -V for NEW_GAS check [4/4] 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040506224026.GD29131@triplehelix.org \
--to=joshk@triplehelix.org \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.