aboutsummaryrefslogtreecommitdiff
path: root/gmon
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-01-02 16:36:35 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-01-13 10:17:42 -0300
commitf28702b2eead1c65292c4fc84ecade2be201de0e (patch)
treefb0b20b500b95570699bb3bb1e635e89ab46b6c1 /gmon
parent6c575d835edf166c16695e47732b175abf6f99ef (diff)
downloadglibc-f28702b2eead1c65292c4fc84ecade2be201de0e.tar.xz
glibc-f28702b2eead1c65292c4fc84ecade2be201de0e.zip
gmon: Disable tst-profile-static with clang
clang does not support -profile: clang: error: unknown argument '-profile'; did you mean '-fprofile'?
Diffstat (limited to 'gmon')
-rw-r--r--gmon/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/gmon/Makefile b/gmon/Makefile
index 6e39366a0c..26051ed2fb 100644
--- a/gmon/Makefile
+++ b/gmon/Makefile
@@ -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