about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-12-06 13:02:41 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-01-11 17:51:17 -0300
commit2d2d7e1a8f2e62b442ae8978f0a6c17f385575c4 (patch)
tree4ccfa79de59053783cc5512fab2f2d69afe1137f /scripts
parent30546ac2d1d64adff07d317e3041ec0fc6e32f6d (diff)
downloadglibc-2d2d7e1a8f2e62b442ae8978f0a6c17f385575c4.tar.gz
glibc-2d2d7e1a8f2e62b442ae8978f0a6c17f385575c4.tar.xz
glibc-2d2d7e1a8f2e62b442ae8978f0a6c17f385575c4.zip
configure: Allow user override LD, AR, OBJCOPY, and GPROF
The only way to override LD, AR, OBJCOPY, and GPROF is through
--with-binutils (setting the environments variables on configure is
overridden by LIBC_PROG_BINUTILS).

The build-many-glibcs.py (bmg) glibcs option generates a working config,
but not fully concise (some tools will be set from environment variable,
while other will be set from $CC --print-prog-name).  So remove the
environment variable set to always use the "$CC --print-prog-name".
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-many-glibcs.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index f23c2d374b..cb91797e76 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -1521,10 +1521,7 @@ class GlibcPolicyDefault(object):
             '--host=%s' % glibc.triplet,
             'CC=%s' % glibc.tool_name('gcc'),
             'CXX=%s' % glibc.tool_name('g++'),
-            'AR=%s' % glibc.tool_name('ar'),
-            'LD=%s' % glibc.tool_name('ld'),
             'NM=%s' % glibc.tool_name('nm'),
-            'OBJCOPY=%s' % glibc.tool_name('objcopy'),
             'OBJDUMP=%s' % glibc.tool_name('objdump'),
             'RANLIB=%s' % glibc.tool_name('ranlib'),
             'READELF=%s' % glibc.tool_name('readelf'),