From: Adhemerval Zanella Date: Thu, 2 Jan 2025 19:36:35 +0000 (-0300) Subject: gmon: Disable tst-profile-static with clang X-Git-Tag: glibc-2.41~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f28702b2eead1c65292c4fc84ecade2be201de0e;p=thirdparty%2Fglibc.git gmon: Disable tst-profile-static with clang clang does not support -profile: clang: error: unknown argument '-profile'; did you mean '-fprofile'? --- 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