aboutsummaryrefslogtreecommitdiff
path: root/gprof/Makefile.am
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-04-09 12:17:43 +0000
committerAndrew Cagney <cagney@redhat.com>2000-04-09 12:17:43 +0000
commita2d91340f322fed39bdaf02391b8be01dffb7869 (patch)
tree34d42b74b6691f2cbaaf2381ea147aef4fbb36e1 /gprof/Makefile.am
parentd8e7020fd6fadafc86faf10ebe241fcf38927815 (diff)
downloadbinutils-a2d91340f322fed39bdaf02391b8be01dffb7869.zip
binutils-a2d91340f322fed39bdaf02391b8be01dffb7869.tar.gz
binutils-a2d91340f322fed39bdaf02391b8be01dffb7869.tar.bz2
Remove ``-W -Wall'' from top-level Makefile/configure.
Add ``-W -Wall'' to sub-directories bfd, binutils, gas gprof, ld and opcodes by the addition of WARN_CFLAGS to Makefile.am and configury to set it. Add configure option --enable-build-warnings. Re-generate all and sundry using auto*-000227.
Diffstat (limited to 'gprof/Makefile.am')
-rw-r--r--gprof/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/gprof/Makefile.am b/gprof/Makefile.am
index 6321bdb..a4a6a6a 100644
--- a/gprof/Makefile.am
+++ b/gprof/Makefile.am
@@ -10,6 +10,9 @@ BASEDIR = $(srcdir)/..
BFDDIR = $(BASEDIR)/bfd
INCDIR = $(BASEDIR)/include
+WARN_CFLAGS = @WARN_CFLAGS@
+AM_CFLAGS = $(WARN_CFLAGS)
+
MKDEP = gcc -MM
INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -I$(srcdir)/../intl -I../intl -I. -DLOCALEDIR="\"$(prefix)/share/locale\""