This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[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 08:14:17 +0000
- Subject: [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
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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
diff --git a/libgloss/multi-build.in b/libgloss/multi-build.in
index e2fd0807af07ec4617dbc0d8e9e8427992fc2168..1403eb35e62321f999a99e46c685c2f5659633b1 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)" \