about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--benchtests/Makefile3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ef37c7eda..bfb30834fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-01  Will Newton  <will.newton@linaro.org>
+
+	* benchtests/Makefile (CFLAGS-bench-ffs.c): Add
+	-fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
+
 2014-04-01  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #13347]
diff --git a/benchtests/Makefile b/benchtests/Makefile
index b184461ffd..ca635cfe85 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -37,6 +37,9 @@ stdlib-bench := strtod
 
 benchset := $(string-bench-all) $(stdlib-bench)
 
+CFLAGS-bench-ffs.c += -fno-builtin
+CFLAGS-bench-ffsll.c += -fno-builtin
+
 LDLIBS-bench-acos = -lm
 LDLIBS-bench-acosh = -lm
 LDLIBS-bench-asin = -lm