This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH][libgloss][semi-hosting] Preserve DESTDIR values for redirected builds.
- From: Tamar Christina <Tamar dot Christina at arm dot com>
- To: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Cc: nd <nd at arm dot com>
- Date: Mon, 17 Jul 2017 09:37:27 +0000
- Subject: Re: [PATCH][libgloss][semi-hosting] Preserve DESTDIR values for redirected builds.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com;
- Nodisclaimer: True
- References: <VI1PR0801MB20314F88331DF69D11E67D74FFA00@VI1PR0801MB2031.eurprd08.prod.outlook.com>,<20170717090721.GC3345@calimero.vinschen.de>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Ah, oops!
Sorry I, did make the format-patch version but then habit kicked in and I
sent the normal patch!
Here's the correct one.
Thanks!
________________________________________
From: newlib-owner@sourceware.org <newlib-owner@sourceware.org> on behalf of Corinna Vinschen <vinschen@redhat.com>
Sent: Monday, July 17, 2017 10:07 AM
To: newlib@sourceware.org
Subject: Re: [PATCH][libgloss][semi-hosting] Preserve DESTDIR values for redirected builds.
Hi Tamar,
On Jul 17 08:14, Tamar Christina wrote:
> Hi All,
>
> This patch adds support for building in a different directory than the default output
> directory by preserving DESTDIR value in recursive calls.
>
> OK for master?
>
> PS. I do not have commit rights.
>
> Thanks,
> Tamar
Would you mind to send patches in `git format-patch' format? Most
of the above text doesn't exactly qualify for a git log message ;)
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
From 9b7ef6bd7d5b7174a37095581ae8e2bb38303e3a Mon Sep 17 00:00:00 2001
From: Tamar Christina <tamar.christina@arm.com>
Date: Mon, 17 Jul 2017 08:46:45 +0100
Subject: [PATCH] Support building in a different directory than the default
output directory by preserving DESTDIR value in recursive calls.
Signed-off-by: Tamar Christina <tamar.christina@arm.com>
---
libgloss/multi-build.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libgloss/multi-build.in b/libgloss/multi-build.in
index e2fd0807a..1403eb35e 100644
--- a/libgloss/multi-build.in
+++ b/libgloss/multi-build.in
@@ -45,7 +45,7 @@ multi-do:
LIBCXXFLAGS="$(LIBCXXFLAGS)" \
LDFLAGS="$(LDFLAGS)" \
MULTIFLAGS="" \
- DESTDIR="" \
+ DESTDIR="$(DESTDIR)" \
SOURCE="${srcdir}/" \
INSTALL="$(INSTALL)" \
INSTALL_DATA="$(INSTALL_DATA)" \
--
2.13.0