malloc: Always install mtrace (bug 31892)

Message ID 87bk43u99n.fsf@oldenburg.str.redhat.com (mailing list archive)
State Superseded
Headers
Series malloc: Always install mtrace (bug 31892) |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Test passed

Commit Message

Florian Weimer June 14, 2024, 10:08 a.m. UTC
  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.

Tested installation with PERL=no on x86_64-linux-gnu: the program is now
installed.

---
 malloc/Makefile | 2 --
 1 file changed, 2 deletions(-)


base-commit: 868ab8923a2ec977faafec97ecafac0c3159c1b2
  

Patch

diff --git a/malloc/Makefile b/malloc/Makefile
index cc14cf66c9..c7d6678a40 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -250,7 +250,6 @@  others-extras = mcheck-init.o
 aux := set-freeres thread-freeres
 
 # The Perl script to analyze the output of the mtrace functions.
-ifneq ($(PERL),no)
 install-bin-script = mtrace
 generated += mtrace
 
@@ -261,7 +260,6 @@  address-width=10
 else
 address-width=18
 endif
-endif
 
 # Unless we get a test for the availability of libgd which also works
 # for cross-compiling we disable the memusagestat generation in this