summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorajs <ajs>2004-11-10 22:02:05 +0000
committerajs <ajs>2004-11-10 22:02:05 +0000
commit7966b97ce3ffd5c02d70ee352553a1fb099c52a9 (patch)
treef25591959d66ce881e69aafe65624bb2008751c0 /redhat
parent976d8c734bc1568ac05b968954ed3c3dc5796b9a (diff)
2004-11-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* redhat/quagga.spec.in: add comments showing how to get gcc verbosity
Diffstat (limited to 'redhat')
-rw-r--r--redhat/quagga.spec.in11
1 files changed, 11 insertions, 0 deletions
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 \