mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 20:21:07 +00:00
benchtests: Do not build bench-timing-type with MODULE_NAME=libc
Since commit 2682695e5c
, `make bench-build' with `--enable-static-pie'
fails due to bench-timing-type being incorrectly built with MODULE_NAME
set to `libc'. This commit sets MODULE_NAME to nonlib, thus fixing the
build failure.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
04c6a8073d
commit
3725ee39db
@ -156,13 +156,6 @@ ifdef DETAILED
|
||||
DETAILED_OPT := -d
|
||||
endif
|
||||
|
||||
# This makes sure CPPFLAGS-nonlib and CFLAGS-nonlib are passed
|
||||
# for all these modules.
|
||||
cpp-srcs-left := $(binaries-benchset:=.c) $(binaries-bench:=.c) \
|
||||
$(binaries-bench-malloc:=.c)
|
||||
lib := nonlib
|
||||
include $(patsubst %,$(..)libof-iterator.mk,$(cpp-srcs-left))
|
||||
|
||||
bench-deps := bench-skeleton.c bench-timing.h Makefile
|
||||
|
||||
run-bench = $(test-wrapper-env) \
|
||||
@ -171,6 +164,13 @@ run-bench = $(test-wrapper-env) \
|
||||
|
||||
timing-type := $(objpfx)bench-timing-type
|
||||
|
||||
# This makes sure CPPFLAGS-nonlib and CFLAGS-nonlib are passed
|
||||
# for all these modules.
|
||||
cpp-srcs-left := $(binaries-benchset:=.c) $(binaries-bench:=.c) \
|
||||
$(binaries-bench-malloc:=.c) $(timing-type:=.c)
|
||||
lib := nonlib
|
||||
include $(patsubst %,$(..)libof-iterator.mk,$(cpp-srcs-left))
|
||||
|
||||
bench-clean:
|
||||
rm -f $(binaries-bench) $(addsuffix .o,$(binaries-bench))
|
||||
rm -f $(binaries-benchset) $(addsuffix .o,$(binaries-benchset))
|
||||
|
Loading…
Reference in New Issue
Block a user