From cb44b0a46c9b1c72a84cf65e6b4d6ae735c0e413 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 6 Oct 2008 15:02:32 +0000 Subject: #ifdef atexit cleanups calling free as the OS should do this for us, but valgrind debuggers need it. --- README | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README') diff --git a/README b/README index c9c0ebf5..2c61b0c0 100644 --- a/README +++ b/README @@ -19,6 +19,8 @@ PREFIX=/usr/local We don't support building a static OpenRC with PAM. You may need to use PROGLDFLAGS=-Wl,-Bstatic on glibc instead of just -static. +If you debug memory under valgrind, add -DDEBUG_MEMORY to your CPPFLAGS +so that all malloc memory should be freed at exit. You can also brand OpenRC if you so wish like so BRANDING=\"Gentoo/$(uname -s)\" -- cgit v1.2.3