diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-01-02 16:36:35 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-01-13 10:17:42 -0300 |
commit | f28702b2eead1c65292c4fc84ecade2be201de0e (patch) | |
tree | fb0b20b500b95570699bb3bb1e635e89ab46b6c1 | |
parent | 6c575d835edf166c16695e47732b175abf6f99ef (diff) | |
download | glibc-f28702b2eead1c65292c4fc84ecade2be201de0e.zip glibc-f28702b2eead1c65292c4fc84ecade2be201de0e.tar.gz glibc-f28702b2eead1c65292c4fc84ecade2be201de0e.tar.bz2 |
gmon: Disable tst-profile-static with clang
clang does not support -profile:
clang: error: unknown argument '-profile'; did you mean '-fprofile'?
-rw-r--r-- | gmon/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gmon/Makefile b/gmon/Makefile index 6e39366..26051ed 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 |