1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-12 10:22:38 +02:00

maint: Document how to best to enable gcc warnings for developers

* README-hacking: Mention --enable-gcc-warnings configure option
* configure.ac: Don't scare developers away from using gcc warnings
This commit is contained in:
Pádraig Brady
2009-03-11 12:09:08 +00:00
parent 20dc2a6a61
commit cf0bb5e05d
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ which are extracted from other source packages:
And there you are! Just
$ ./configure
$ ./configure #[--enable-gcc-warnings]
$ make
$ make check

View File

@@ -46,7 +46,7 @@ coreutils_MACROS
AC_ARG_ENABLE([gcc-warnings],
[AS_HELP_STRING([--enable-gcc-warnings],
[turn on lots of GCC warnings (not recommended)])],
[turn on lots of GCC warnings (for developers)])],
[case $enableval in
yes|no) ;;
*) AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;