From 7966b97ce3ffd5c02d70ee352553a1fb099c52a9 Mon Sep 17 00:00:00 2001 From: ajs Date: Wed, 10 Nov 2004 22:02:05 +0000 Subject: 2004-11-10 Andrew J. Schorr * redhat/quagga.spec.in: add comments showing how to get gcc verbosity --- redhat/quagga.spec.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'redhat') diff --git a/redhat/quagga.spec.in b/redhat/quagga.spec.in index c61ab72f..09683de3 100644 --- a/redhat/quagga.spec.in +++ b/redhat/quagga.spec.in @@ -106,6 +106,17 @@ developing OSPF-API and quagga applications. %setup -q %build + +# For standard gcc verbosity, uncomment these lines: +#CFLAGS="%{optflags} -Wall -Wsign-compare -Wpointer-arith" +#CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings" + +# For ultra gcc verbosity, uncomment these lines also: +#CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes" +#CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn" +#CFLAGS="${CFLAGS} -Wmissing-format-attribute -Wunreachable-code" +#CFLAGS="${CFLAGS} -Wpacked -Wpadded" + %configure \ %if !%{with_shared} --disable-shared \ -- cgit v1.2.1