From: Mark Wielaard Date: Tue, 20 Dec 2022 22:20:52 +0000 (+0100) Subject: lib: Remove -ffunction-sections for xmalloc X-Git-Tag: elfutils-0.189~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8abee8bdecbeb3496af34038694da626b69b41c0;p=thirdparty%2Felfutils.git lib: Remove -ffunction-sections for xmalloc The build used -ffunction-sections just for one file. Signed-off-by: Mark Wielaard --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 6bb0d4d06..5ab9477e8 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2022-12-20 Mark Wielaard + + * Makefile.am (xmalloc_CFLAGS): Remove. + 2022-09-21 Yonggang Luo * color.c: Don't include unistd.h. diff --git a/lib/Makefile.am b/lib/Makefile.am index 42ddf5ae9..b3bb929f8 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -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