From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: Request for ideas on arch-specific musl-gcc specfile additions
Date: Mon, 15 Apr 2013 00:49:13 -0400 [thread overview]
Message-ID: <20130415044913.GU20323@brightrain.aerifal.cx> (raw)
In-Reply-To: <516B82A6.2020800@eservices.virginia.edu>
On Mon, Apr 15, 2013 at 12:31:34AM -0400, Zvi Gilboa wrote:
> 2) add arch-specific variables in the relevant places and set them
> from outside, possibly by executing musl-gcc.specs.sh from within an
> arch-specific shell script. For instance:
>
> *cpp_options:
> $ARCH_SPECIFIC_CFLAGS -nostdinc -isystem $incdir %(old_cpp_options)
Hmm, I had forgotten it was a shell script and not just a sed script
or something doing the replacements. So we could just put something
like:
$(case "$ARCH" in
mips*) echo "mips stuff here" ;;
powerpc*) echo "ppc stuff here" ;;
easc)
Does that work? Might have to add $ARCH to the args to the script, but
otherwise it seems ok.
Rich
next prev parent reply other threads:[~2013-04-15 4:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-15 1:31 Rich Felker
2013-04-15 4:31 ` Zvi Gilboa
2013-04-15 4:49 ` Rich Felker [this message]
2013-04-15 5:35 ` Zvi Gilboa
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=20130415044913.GU20323@brightrain.aerifal.cx \
--to=dalias@aerifal.cx \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).