aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/pulseaudio/pulseaudio/0002-do-not-display-CLFAGS-to-improve-reproducibility-bui.patch
blob: 48f0492177143d397b98d833387543e42afd7cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From f0ddd7c36556ad05c1398fdd132947323ad26473 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Thu, 6 Dec 2018 11:43:41 +0800
Subject: [PATCH 2/2] do not display CLFAGS to improve reproducibility build

Macro PA_CFLAGS contains build path, do not use it to
display CFLAGS which could improve reproducibility build.

Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 src/daemon/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/daemon/main.c b/src/daemon/main.c
index 30ef499..5c3abf0 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -916,7 +916,7 @@ int main(int argc, char *argv[]) {
     pa_set_env_and_record("PULSE_SYSTEM", conf->system_instance ? "1" : "0");
 
     pa_log_info("This is PulseAudio %s", PACKAGE_VERSION);
-    pa_log_debug("Compilation CFLAGS: %s", PA_CFLAGS);
+    pa_log_debug("Compilation CFLAGS: ***");
 
 #ifdef HAVE_LIBSAMPLERATE
     pa_log_warn("Compiled with DEPRECATED libsamplerate support!");
-- 
2.25.1