aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
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/i386/i686/fpu/multiarch/libm-test-ulps
parentda905bb706672c84130226bfff9de7d6ba1f0eb6 (diff)
downloadglibc-086910fc41655152812b515dc324d2ac0dc36e67.zip
glibc-086910fc41655152812b515dc324d2ac0dc36e67.tar.gz
glibc-086910fc41655152812b515dc324d2ac0dc36e67.tar.bz2
malloc: Always install mtrace (bug 31892)
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/i386/i686/fpu/multiarch/libm-test-ulps')
0 files changed, 0 insertions, 0 deletions