This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
[newlib-cygwin] Support building in a different directory than the default output directory by preserving DESTDIR va
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: newlib-cvs at sourceware dot org
- Date: 17 Jul 2017 11:43:07 -0000
- Subject: [newlib-cygwin] Support building in a different directory than the default output directory by preserving DESTDIR va
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=bb12a1e587b07d3730f631a63fb2a46f811f867d
commit bb12a1e587b07d3730f631a63fb2a46f811f867d
Author: Tamar Christina <tamar.christina@arm.com>
Date: Mon Jul 17 08:46:45 2017 +0100
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>
Diff:
---
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 e2fd080..1403eb3 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)" \