lib: Remove -ffunction-sections for xmalloc
authorMark Wielaard <mark@klomp.org>
Tue, 20 Dec 2022 22:20:52 +0000 (23:20 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 21 Dec 2022 22:34:52 +0000 (23:34 +0100)
The build used -ffunction-sections just for one file.

Signed-off-by: Mark Wielaard <mark@klomp.org>
lib/ChangeLog
lib/Makefile.am

index 6bb0d4d..5ab9477 100644 (file)
@@ -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.
index 42ddf5a..b3bb929 100644 (file)
@@ -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