This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.17-537-g4856bcd
- From: siddhesh at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 16 Apr 2013 13:04:25 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.17-537-g4856bcd
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 4856bcd2df33adfc36c762a48853ec613c0d2f68 (commit)
from a2964074322106ab2350cdefa676de3664083b0a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4856bcd2df33adfc36c762a48853ec613c0d2f68
commit 4856bcd2df33adfc36c762a48853ec613c0d2f68
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Tue Apr 16 18:34:03 2013 +0530
Define NOT_IN_libc when compiling benchmark programs
diff --git a/ChangeLog b/ChangeLog
index 8b53c33..ca232e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 097d3c3..5d3de5d 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -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) \
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +++
benchtests/Makefile | 6 ++++++
2 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources