[PATCH 3/7] gmon: Remove ununsed LDFLAGS-tst-profile-static

H.J. Lu hjl.tools@gmail.com
Tue Dec 31 20:52:15 GMT 2024


On Wed, Jan 1, 2025 at 2:27 AM Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
>
> It also fixes the test buidl when using clang.
> ---
>  gmon/Makefile | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/gmon/Makefile b/gmon/Makefile
> index db19c205d1..f44e7060a9 100644
> --- a/gmon/Makefile
> +++ b/gmon/Makefile
> @@ -43,10 +43,8 @@ tests = \
>    tst-sprofil \
>    # tests
>  ifeq ($(build-profile),yes)
> -tests += tst-profile-static
> -tests-static += tst-profile-static

Why are these changes included?

> -
> -LDFLAGS-tst-profile-static = -profile

Did you enable profile build? If yes, why is -profile unused?

> +tests  += tst-profile-static
> +tests-static   += tst-profile-static
>  endif
>
>  tests += tst-gmon-static
> --
> 2.43.0
>


-- 
H.J.


More information about the Libc-alpha mailing list