about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/le/power11/fpu/Implies
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-06-20 10:32:16 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-06-20 10:32:16 +0200
commit086910fc41655152812b515dc324d2ac0dc36e67 (patch)
tree5cdc7a6a34425240105c01916db456f1e9a2d9cc /sysdeps/powerpc/powerpc64/le/power11/fpu/Implies
parentda905bb706672c84130226bfff9de7d6ba1f0eb6 (diff)
downloadglibc-master.tar.gz
glibc-master.tar.xz
glibc-master.zip
malloc: Always install mtrace (bug 31892) HEAD master
Generation of the Perl script does not depend on Perl, so we can
always install it even if $(PERL) is not set during the build.

Change the malloc/mtrace.pl text substition not to rely on $(PERL).
Instead use PATH at run time to find the Perl interpreter. The Perl
interpreter cannot execute directly a script that starts with
“#! /bin/sh”: it always executes it with /bin/sh.  There is no
perl command line switch to disable this behavior.  Instead, use
the Perl require function to execute the script.  The additional
shift calls remove the “.” shell arguments.  Perl interprets the
“.” as a string concatenation operator, making the expression
syntactically valid.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/powerpc/powerpc64/le/power11/fpu/Implies')
0 files changed, 0 insertions, 0 deletions