mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
Avoid overwriting earlier flags in CPPFLAGS-nonlib in benchtests
When setting BENCH_DURATION in CPPFLAGS-nonlib, append to the variable instead of assigning to it, to avoid overwriting earlier set flags, notably the -DNOT_IN_libc=1 flag.
This commit is contained in:
parent
416641e687
commit
50b818bf96
@ -1,3 +1,8 @@
|
||||
2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
|
||||
of assigning.
|
||||
|
||||
2013-06-08 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/gnu/errlist.awk: Do not generate space at end of
|
||||
|
@ -102,7 +102,7 @@ ifndef BENCH_DURATION
|
||||
BENCH_DURATION := 10
|
||||
endif
|
||||
|
||||
CPPFLAGS-nonlib = -DDURATION=$(BENCH_DURATION)
|
||||
CPPFLAGS-nonlib += -DDURATION=$(BENCH_DURATION)
|
||||
|
||||
# Use clock_gettime to measure performance of functions. The default is to use
|
||||
# HP_TIMING if it is available.
|
||||
|
Loading…
x
Reference in New Issue
Block a user