summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAntonio Ospite <ospite@studenti.unina.it>2011-09-09 12:17:19 +0200
committerColin Guthrie <colin@mageia.org>2011-09-14 09:23:41 +0100
commit3cae4a0606aa74a485a57b1bbbd7be7726b9a9c6 (patch)
tree39d07d818e4e063516d16fe508c8930a45720bd5 /README
parentba2ad514c2edde0c4fe1e130dc15118ec9672688 (diff)
doc: Add info about running pulseaudio from the build dir
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index 02d3c611..10debd44 100644
--- a/README
+++ b/README
@@ -32,3 +32,12 @@ OHLOH:
AUTHORS:
Several
+
+HACKING:
+ In order to run pulseaudio from the build dir __OPTIMIZE__ should be
+ disabled (look at src/pulsecore/core-util.h::pa_run_from_build_tree()),
+ this can be done by passing "CFLAGS=-O0" to the configure script:
+ ./autogen.sh
+ CFLAGS="-ggdb3 -O0" LDFLAGS="-ggdb3" ./configure
+ make
+ ./src/pulseaudio -n -F src/default.pa -p $(pwd)/src/.libs/