Re: [PATCH V2] introduce a special build flag to explicitly disables running from build tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
> ---
>  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

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux