public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH][libgloss][semi-hosting] Preserve DESTDIR values for redirected builds.
@ 2017-07-17  8:14 Tamar Christina
  2017-07-17  9:07 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Tamar Christina @ 2017-07-17  8:14 UTC (permalink / raw)
  To: newlib; +Cc: nd

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: libgloss-destdir.patch --]
[-- Type: text/x-patch; name="libgloss-destdir.patch", Size: 487 bytes --]

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)" \

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-17 11:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-17  8:14 [PATCH][libgloss][semi-hosting] Preserve DESTDIR values for redirected builds Tamar Christina
2017-07-17  9:07 ` Corinna Vinschen
2017-07-17  9:37   ` Tamar Christina
2017-07-17 11:43     ` Corinna Vinschen

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 read-only IMAP folder(s) and NNTP newsgroup(s).