* [PATCH] lib: Remove -ffunction-sections for xmalloc
@ 2022-12-20 22:22 Mark Wielaard
2022-12-21 22:38 ` Mark Wielaard
0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2022-12-20 22:22 UTC (permalink / raw)
To: elfutils-devel; +Cc: Mark Wielaard
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(-)
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 6bb0d4d0..5ab9477e 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -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.
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 42ddf5ae..b3bb929f 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
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] lib: Remove -ffunction-sections for xmalloc
2022-12-20 22:22 [PATCH] lib: Remove -ffunction-sections for xmalloc Mark Wielaard
@ 2022-12-21 22:38 ` Mark Wielaard
0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2022-12-21 22:38 UTC (permalink / raw)
To: elfutils-devel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-21 22:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-20 22:22 [PATCH] lib: Remove -ffunction-sections for xmalloc Mark Wielaard
2022-12-21 22:38 ` Mark Wielaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).