about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--benchtests/Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 94bad3397e..e8de668002 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 67728537a8..680440f429 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -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.