From: Lucas De Marchi Date: Mon, 9 Jan 2012 15:26:06 +0000 (-0200) Subject: build-sys: give recommended configure options for hacking X-Git-Tag: v4~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae2612e32753ea9f7c621f87431219bf79d3fe08;p=thirdparty%2Fkmod.git build-sys: give recommended configure options for hacking --- diff --git a/autogen.sh b/autogen.sh index 56e61e65..18370cea 100755 --- 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