From: Johannes Schauer <j.schauer@email.de>
To: qemu-devel@nongnu.org
Cc: Johannes Schauer <j.schauer@email.de>
Subject: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable
Date: Wed, 6 Jul 2011 11:15:49 +0200 [thread overview]
Message-ID: <1309943749-15892-2-git-send-email-j.schauer@email.de> (raw)
In-Reply-To: <1309943749-15892-1-git-send-email-j.schauer@email.de>
Signed-off-by: Johannes Schauer <j.schauer@email.de>
---
linux-user/main.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 289054b..b590aa7 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -2891,6 +2891,11 @@ int main(int argc, char **argv, char **envp)
cpudef_setup(); /* parse cpu definitions in target config file (TBD) */
#endif
+ /* read interp_prefix from environment variable */
+ if (getenv("QEMU_LD_PREFIX") != NULL) {
+ interp_prefix = getenv("QEMU_LD_PREFIX");
+ }
+
optind = 1;
for(;;) {
if (optind >= argc)
--
1.7.5.4
next prev parent reply other threads:[~2011-07-06 9:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-06 9:15 [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable Johannes Schauer
2011-07-06 9:15 ` Johannes Schauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-07-23 5:47 josch
2011-07-23 5:47 ` josch
2011-07-28 8:41 ` Riku Voipio
2011-07-28 11:24 ` Johannes Schauer
2011-07-28 16:50 ` Geert Stappers
2011-07-28 17:28 ` Alexander Graf
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=1309943749-15892-2-git-send-email-j.schauer@email.de \
--to=j.schauer@email.de \
--cc=qemu-devel@nongnu.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 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).