summaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2012-10-23 22:49:59 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-23 22:49:59 +0000
commit166bca248032399a5a13258b13b8fdb9c1da1ed1 (patch)
tree9fcbb9e501786c76668381b634022f92f9a84df7 /Makeconfig
parent88866099db3973a1b4d3bb0fb3f45efea067e4e8 (diff)
Add and use $(host-built-program-cmd).
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig
index 0a78b76e3a..4481cb38c5 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -597,6 +597,11 @@ run-program-prefix = $(run-via-rtld-prefix)
# second dependency of the makefile target in which
# $(built-program-cmd) is used.
built-program-cmd = $(run-via-rtld-prefix) $(built-program-file)
+# $(host-built-program-cmd) is a command that, executed on the host
+# for which the library is built, runs the newly built program that is
+# the second dependency of the makefile target in which
+# $(host-built-program-cmd) is used.
+host-built-program-cmd = $(run-via-rtld-prefix) $(built-program-file)
ifndef LD
LD := ld -X