[pulseaudio-discuss] [PATCH V2] introduce a special build flag to explicitly disables running from build tree

Tanu Kaskinen tanuk at iki.fi
Tue Dec 11 14:19:37 UTC 2018


On Fri, 2018-12-07 at 15:48 +0800, Hongxu Jia wrote:
> It is helpful to improve reproducibility build [1] since
> PA_SRCDIR/PA_BUILDDIR contains build path, disable running
> from build tree could drop these macros at precompilation.
> 
> [1] https://reproducible-builds.org/
> 
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> ---
>  configure.ac                             | 10 ++++++++++
>  src/daemon/daemon-conf.c                 |  6 ++++--
>  src/daemon/main.c                        |  6 ++++++
>  src/modules/alsa/alsa-mixer.c            |  4 ++++
>  src/modules/gconf/module-gconf.c         |  2 +-
>  src/modules/gsettings/module-gsettings.c |  2 +-
>  src/pulsecore/core-util.c                |  4 +++-
>  7 files changed, 29 insertions(+), 5 deletions(-)

Thanks! I applied this with some minor edits in the commit message, and
I changed the "Running from build tree" log message so that it prints
the value returned by pa_run_from_build_tree() rather than printing
"yes" always.

-- 
Tanu

https://www.patreon.com/tanuk
https://liberapay.com/tanuk



More information about the pulseaudio-discuss mailing list