aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/configure.ac
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2014-09-30 23:05:33 +0300
committerJanne Blomqvist <jb@gcc.gnu.org>2014-09-30 23:05:33 +0300
commit6c023041071e6e67362469e9ba603577d6954b17 (patch)
treef932be01b42f1b7ed3242c3c600cc2eb3b99acfc /libgfortran/configure.ac
parent4f2611b6e872c40e0bf4da38ff05df8c8fe0ee64 (diff)
downloadgcc-6c023041071e6e67362469e9ba603577d6954b17.zip
gcc-6c023041071e6e67362469e9ba603577d6954b17.tar.gz
gcc-6c023041071e6e67362469e9ba603577d6954b17.tar.bz2
Add -Werror=implicit-function-declaration to AM_CFLAGS.
2014-09-30 Janne Blomqvist <jb@gcc.gnu.org> * configure.ac (AM_CFLAGS): Add -Werror=implicit-function-declaration. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. * configure: Regenerated. From-SVN: r215741
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r--libgfortran/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index be4b7be..9d8e05c 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -142,7 +142,7 @@ if test "x$GCC" = "xyes"; then
## We like to use C11 and C99 routines when available. This makes
## sure that
## __STDC_VERSION__ is set such that libc includes make them available.
- AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
+ AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration"
## Compile the following tests with the same system header contents
## that we'll encounter when compiling our own source files.
CFLAGS="-std=gnu11 $CFLAGS"