mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
gmon: Disable tst-profile-static with clang
clang does not support -profile: clang: error: unknown argument '-profile'; did you mean '-fprofile'?
This commit is contained in:
parent
6c575d835e
commit
f28702b2ee
@ -42,7 +42,8 @@ tests = \
|
|||||||
tst-mcount-overflow \
|
tst-mcount-overflow \
|
||||||
tst-sprofil \
|
tst-sprofil \
|
||||||
# tests
|
# 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 += tst-profile-static
|
||||||
tests-static += tst-profile-static
|
tests-static += tst-profile-static
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user