[pulseaudio-discuss] [PATCH 2/2] Move compile-time checks around pa_run_from_build_tree to core-util

Arun Raghavan arun.raghavan at collabora.co.uk
Wed Mar 23 23:16:02 PDT 2011


On Tue, 2011-03-22 at 16:06 +0100, Maarten Bosmans wrote:
> Is there a better way than
> #if defined(__linux__) && !defined(__OPTIMIZE__)
> to check for a debug build? By default the CFLAGS contain -g -O2, so
> __OPTIMIZE__ will not be defined and running uninstalled does not
> work.

Lennart might be able to answer this better, but to me it sounds like we
should just drop the !__OPTIMIZE__ bit.

-- Arun




More information about the pulseaudio-discuss mailing list