summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
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 \