lib: Remove -ffunction-sections for xmalloc
Commit Message
The build used -ffunction-sections just for one file.
Signed-off-by: Mark Wielaard <mark@klomp.org>
---
lib/ChangeLog | 4 ++++
lib/Makefile.am | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)
Comments
On Tue, Dec 20, 2022 at 11:22:23PM +0100, Mark Wielaard wrote:
> The build used -ffunction-sections just for one file.
>
> +2022-12-20 Mark Wielaard <mark@klomp.org>
> +
> + * Makefile.am (xmalloc_CFLAGS): Remove.
Pushed.
@@ -1,3 +1,7 @@
+2022-12-20 Mark Wielaard <mark@klomp.org>
+
+ * Makefile.am (xmalloc_CFLAGS): Remove.
+
2022-09-21 Yonggang Luo <luoyonggang@gmail.com>
* color.c: Don't include unistd.h.
@@ -41,7 +41,3 @@ noinst_HEADERS = fixedsizehash.h libeu.h system.h dynamicsizehash.h list.h \
eu-config.h color.h printversion.h bpf.h \
atomics.h stdatomic-fbsd.h dynamicsizehash_concurrent.h
EXTRA_DIST = dynamicsizehash.c dynamicsizehash_concurrent.c
-
-if !GPROF
-xmalloc_CFLAGS = -ffunction-sections
-endif