summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/daemon/main.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 568f43a2..c35eca04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -407,6 +407,8 @@ AS_IF([test "$pulseaudio_cv_PTHREAD_PRIO_INHERIT" = "yes"], [
AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], 1, [Have PTHREAD_PRIO_INHERIT.])
])
+AC_DEFINE_UNQUOTED(PA_CFLAGS,"$CFLAGS", [The CFLAGS used during compilation])
+
#### Large File-Support (LFS) ####
AC_SYS_LARGEFILE
diff --git a/src/daemon/main.c b/src/daemon/main.c
index b57a74a2..9f7a79d5 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -778,6 +778,7 @@ int main(int argc, char *argv[]) {
pa_set_env("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_info(_("Page size is %lu bytes"), (unsigned long) PA_PAGE_SIZE);
if (!(s = pa_machine_id())) {