From: H.J. Lu Date: Wed, 16 Mar 2022 15:43:48 +0000 (-0700) Subject: benchtests: Use "=" instead of ":=" [BZ #28970] X-Git-Tag: upstream/2.36~493 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=564f7ae7b45ee00e8e35499e462d28ad45c56022;p=platform%2Fupstream%2Fglibc.git benchtests: Use "=" instead of ":=" [BZ #28970] Use "=" instead of ":=" to allow sysdeps Makefiles to add more benches to bench and benchset. This fixes BZ #28970. Reviewed-by: Sunil K Pandey --- diff --git a/benchtests/Makefile b/benchtests/Makefile index d513b29..8dfca59 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -296,9 +296,11 @@ bench-extra-objs = json-lib.o extra-objs += $(bench-extra-objs) others-extras = $(bench-extra-objs) -binaries-bench := $(addprefix $(objpfx)bench-,$(bench)) +# NB: Use "=" instead of ":=" since sysdeps Makefiles may add more +# benches. +binaries-bench = $(addprefix $(objpfx)bench-,$(bench)) extra-objs += $(addsuffix .o,$(addprefix bench-,$(bench))) -binaries-benchset := $(addprefix $(objpfx)bench-,$(benchset)) +binaries-benchset = $(addprefix $(objpfx)bench-,$(benchset)) extra-objs += $(addsuffix .o,$(addprefix bench-,$(benchset))) binaries-bench-malloc := $(addprefix $(objpfx)bench-,$(bench-malloc)) extra-objs += $(addsuffix .o,$(addprefix bench-,$(bench-malloc)))