projects
/
platform
/
upstream
/
kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd42060
)
build-sys: give recommended configure options for hacking
author
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Mon, 9 Jan 2012 15:26:06 +0000
(13:26 -0200)
committer
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Mon, 9 Jan 2012 15:27:20 +0000
(13:27 -0200)
autogen.sh
patch
|
blob
|
history
diff --git
a/autogen.sh
b/autogen.sh
index
56e61e6
..
18370ce
100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-16,5
+16,14
@@
echo "----------------------------------------------------------------"
echo "Initialized build system. For a common configuration please run:"
echo "----------------------------------------------------------------"
echo
-echo "# ./configure $args"
+echo "# ./configure CFLAGS='-g -O2' \\"
+echo " $args"
+echo
+
+echo "If you are debugging or hacking on kmod, consider configuring"
+echo "like below:"
+echo
+echo "# ./configure CFLAGS='-g -O2 -Werror' \\"
+echo " $args \\"
+echo " --enable-debug"
echo