diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-16 14:17:51 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-16 14:17:51 +0000 |
commit | c338342825e29edb5bdf81a4baa2a85341fdfee4 (patch) | |
tree | 5b1768cf44367ca62e49b6efd0e18557e36b689c /fixincludes/Makefile.in | |
parent | 72ab4a9478ca136861d03f875c311c212c154794 (diff) |
* Makefile.in (WARN_CFLAGS): New.
(.c.o): Add $(WARN_CFLAGS).
* aclocal.m4: Include ../config/warnings.m4.
* configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
ACX_PROG_CC_WARNINGS_ARE_ERRORS.
* fixopts.c (initialize_opts): Fix old-style definintion.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102088 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/Makefile.in')
-rw-r--r-- | fixincludes/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fixincludes/Makefile.in b/fixincludes/Makefile.in index 54382cc8021..854f6e77612 100644 --- a/fixincludes/Makefile.in +++ b/fixincludes/Makefile.in @@ -29,6 +29,7 @@ STAMP = echo timestamp > CC = @CC@ CFLAGS = @CFLAGS@ +WARN_CFLAGS = @WARN_CFLAGS@ @WARN_PEDANTIC@ @WERROR@ LDFLAGS = @LDFLAGS@ INCLUDES = -I. -I$(srcdir) -I../include -I$(srcdir)/../include FIXINC_CFLAGS = -DHAVE_CONFIG_H $(INCLUDES) @@ -68,7 +69,7 @@ default : all # Now figure out from those variables how to compile and link. .c.o: - $(CC) -c $(CFLAGS) $(CPPFLAGS) $(FIXINC_CFLAGS) $< + $(CC) -c $(CFLAGS) $(WARN_CFLAGS) $(CPPFLAGS) $(FIXINC_CFLAGS) $< # The only suffixes we want for implicit rules are .c and .o. .SUFFIXES: |