This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][libgloss][semi-hosting] Preserve DESTDIR values for redirected builds.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]