File wavemon-optflags.diff of Package wavemon

Index: wavemon-0.6.10/configure.ac
===================================================================
--- wavemon-0.6.10.orig/configure.ac
+++ wavemon-0.6.10/configure.ac
@@ -9,7 +9,7 @@ AC_CONFIG_FILES([Makefile])
 AC_DEFINE_UNQUOTED([BUILD_DATE], ["`/bin/date`"],
 		   [date wavemon was last configured and built])
 
-CFLAGS="-O2 -Wall"
+CFLAGS="-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -ggdb"
 
 # wavemon is only supported on Linux, warn user about futile compilations
 AC_CANONICAL_HOST
openSUSE Build Service is sponsored by