aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@gmail.com>2024-08-20 14:11:28 +0300
committerCorinna Vinschen <corinna@vinschen.de>2024-08-21 11:16:14 +0200
commitd58915acc790bbef3d39d95b0c6f7cd5bc18fea0 (patch)
tree437af69cb1d00542198796d61360d0497f725712
parent86d63f0554ca3de8c4049d4140519708411f1e49 (diff)
downloadnewlib-d58915acc790bbef3d39d95b0c6f7cd5bc18fea0.zip
newlib-d58915acc790bbef3d39d95b0c6f7cd5bc18fea0.tar.gz
newlib-d58915acc790bbef3d39d95b0c6f7cd5bc18fea0.tar.bz2
Use ldflags instead of LDFLAGS in newlib.exp
This variable was accidentally renamed earlier. It must be ldflags according to DejaGNU documentation. Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
-rw-r--r--newlib/testsuite/lib/newlib.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/testsuite/lib/newlib.exp b/newlib/testsuite/lib/newlib.exp
index 8b43d2e..f1df40e 100644
--- a/newlib/testsuite/lib/newlib.exp
+++ b/newlib/testsuite/lib/newlib.exp
@@ -66,13 +66,13 @@ proc newlib_target_compile { source dest type options } {
[target_info needs_status_wrapper] != "0" && \
[info exists gluefile] } {
lappend options "libs=$gluefile"
- lappend options "LDFLAGS=$wrap_flags"
+ lappend options "ldflags=$wrap_flags"
}
if [string match $host_triplet $target_triplet] then {
if [string match "i686-pc-linux-gnu" $host_triplet] then {
lappend options "libs=$objdir/crt0.o -lc -lgcc"
- lappend options "LDFLAGS=-nostdlib -L$objdir/.libs [newlib_include_flags]"
+ lappend options "ldflags=-nostdlib -L$objdir/.libs [newlib_include_flags]"
}
}