Signed-off-by: Ben Elliston <bje@gnu.org>
+2015-11-11 Michael Forney <forney@google.com>
+
+ * lib/target.exp (default_target_compile): Honor LDFLAGS_FOR_TARGET.
+
2015-11-11 Ben Elliston <bje@gnu.org>
* doc/dejagnu.texi: Regenerate.
global target_triplet
global tool_root_dir
global CFLAGS_FOR_TARGET
+ global LDFLAGS_FOR_TARGET
global compiler_flags
if { $destfile == "" && $type != "preprocess" && $type != "none" } {
append add_flags " $CFLAGS_FOR_TARGET"
}
+ if {[info exists LDFLAGS_FOR_TARGET]} {
+ append ldflags " $LDFLAGS_FOR_TARGET"
+ }
+
if {[info exists target_info(host,name)]} {
set host [host_info name]
} else {