mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
Define NOT_IN_libc when compiling benchmark programs
This commit is contained in:
parent
a296407432
commit
4856bcd2df
@ -1,5 +1,8 @@
|
||||
2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* benchtests/Makefile: Include cppflags-iterator.mk to add
|
||||
-DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
|
||||
|
||||
* Makefile.in (bench-clean): New target.
|
||||
* benchtests/Makefile (bench-clean): Likewise.
|
||||
|
||||
|
@ -114,6 +114,12 @@ include ../Rules
|
||||
|
||||
binaries-bench := $(addprefix $(objpfx)bench-,$(bench))
|
||||
|
||||
# This makes sure CPPFLAGS-nonlib and CFLAGS-nonlib are passed
|
||||
# for all these modules.
|
||||
cpp-srcs-left := $(binaries-bench:=.c)
|
||||
lib := nonlib
|
||||
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))
|
||||
|
||||
bench-deps := bench-skeleton.c Makefile
|
||||
|
||||
run-bench = $(test-wrapper-env) \
|
||||
|
Loading…
Reference in New Issue
Block a user