aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/nios2/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-20 23:45:23 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-21 17:10:10 -0500
commitf159663b08f532eb77147abc6f8a65e4c5854773 (patch)
treef01e896ad6f27bf1c2b67f75fb46f43e50605e78 /newlib/libc/machine/nios2/Makefile.in
parent4317e0676a074a01be49ca8a51a4e1ab41ac4823 (diff)
downloadnewlib-f159663b08f532eb77147abc6f8a65e4c5854773.zip
newlib-f159663b08f532eb77147abc6f8a65e4c5854773.tar.gz
newlib-f159663b08f532eb77147abc6f8a65e4c5854773.tar.bz2
newlib: stop clobbering LDFLAGS with non-standard $ldflags
It's unclear why this was added originally, but assuming it was needed 20 years ago, it shouldn't be explicitly required nowadays. Current versions of autotools already take care of exporting LDFLAGS to the Makefile as needed (things are actually getting linked). That's why the configure diffs show LDFLAGS still here, but shifted to a diff place in the output list. A few dirs stop exporting LDFLAGS, but that's because they don't do any linking, only compiling, so it's correct. As for the use of $ldflags instead of the standard $LDFLAGS, I can't really explain that at all. Just use the right name so users don't have to dig into why their setting isn't respected, and then use a non-standard name instead. Adjust the testsuite to match.
Diffstat (limited to 'newlib/libc/machine/nios2/Makefile.in')
-rw-r--r--newlib/libc/machine/nios2/Makefile.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/newlib/libc/machine/nios2/Makefile.in b/newlib/libc/machine/nios2/Makefile.in
index 3116e78..f8c0735 100644
--- a/newlib/libc/machine/nios2/Makefile.in
+++ b/newlib/libc/machine/nios2/Makefile.in
@@ -196,7 +196,6 @@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@