summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2005-08-07 04:41:39 +0000
committerUlrich Drepper <[email protected]>2005-08-07 04:41:39 +0000
commit47be795df365174601a08535bf61d22301697ef8 (patch)
tree016407cd67ef07066784632ffa1a04f059dce6a7 /lib
parentca2db8a3ae7bbcbaa8aa314d06608683e694d2df (diff)
Implement --enable-gprof option in configure script.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/Makefile.am2
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 9ddc2163..5b79d096 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-06 Ulrich Drepper <[email protected]>
+
+ * Makefile.am (xmalloc_CFLAGS): Define only if !GPROF.
+
2005-05-03 Roland McGrath <[email protected]>
* crc32_file.c: New file.
diff --git a/lib/Makefile.am b/lib/Makefile.am
index facb5634..b34d5440 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -32,4 +32,6 @@ libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c \
noinst_HEADERS = fixedsizehash.h system.h dynamicsizehash.h list.h
EXTRA_DIST = dynamicsizehash.c
+if !GPROF
xmalloc_CFLAGS = -ffunction-sections
+endif