4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-18 15:09:32 +08:00

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>
This commit is contained in:
Claudiu Zissulescu 2024-08-20 14:11:28 +03:00 committed by Corinna Vinschen
parent 86d63f0554
commit d58915acc7

View File

@ -66,13 +66,13 @@ proc newlib_target_compile { source dest type options } {
[target_info needs_status_wrapper] != "0" && \ [target_info needs_status_wrapper] != "0" && \
[info exists gluefile] } { [info exists gluefile] } {
lappend options "libs=$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 $host_triplet $target_triplet] then {
if [string match "i686-pc-linux-gnu" $host_triplet] then { if [string match "i686-pc-linux-gnu" $host_triplet] then {
lappend options "libs=$objdir/crt0.o -lc -lgcc" 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]"
} }
} }