]> sourceware.org Git - glibc.git/commitdiff
gmon: Disable tst-profile-static with clang
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 2 Jan 2025 19:36:35 +0000 (16:36 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 13 Jan 2025 13:17:42 +0000 (10:17 -0300)
clang does not support -profile:

  clang: error: unknown argument '-profile'; did you mean '-fprofile'?

gmon/Makefile

index 6e39366a0ce545cf76f5ba86bc94835312a984a1..26051ed2fbad790480e27340b5c1026cad245a63 100644 (file)
@@ -42,7 +42,8 @@ tests = \
   tst-mcount-overflow \
   tst-sprofil \
   # tests
-ifeq ($(build-profile),yes)
+# clang does not support -profile to instruct linker to use lc_p
+ifeq ($(build-profile)$(have-test-clang),yesno)
 tests += tst-profile-static
 tests-static += tst-profile-static
 
This page took 0.03646 seconds and 5 git commands to generate.