- don't check if the compiler supports const. No compiler we care
about doesn't support it
- readd -Werror
- move setting of CFLAGS to the Makefile instead of the configure
script, to avoid that the custom flags we use screw up configure checks
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@113 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/Makefile.am b/Makefile.am
index a657a5c..424f2bc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,7 @@
SUBDIRS = demangle . docs tests
+CFLAGS = -Winline -Wall -Werror -Wshadow -O -fomit-frame-pointer -g
+
valdir = $(libdir)/valgrind
LDFLAGS = -Wl,-z -Wl,initfirst