mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 05:18:56 +08:00
configure.ac (CFLAGS): Update to include -std=gnu99 so that the configure tests will be run with the...
* configure.ac (CFLAGS): Update to include -std=gnu99 so that the configure tests will be run with the same environment as used to compile the libgfortran source code. * configure: Regenerate. From-SVN: r109774
This commit is contained in:
parent
fea4cfe00b
commit
d1f37bc642
@ -1,3 +1,10 @@
|
||||
2006-01-16 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* configure.ac (CFLAGS): Update to include -std=gnu99 so that
|
||||
the configure tests will be run with the same environment as
|
||||
used to compile the libgfortran source code.
|
||||
* configure: Regenerate.
|
||||
|
||||
2006-01-12 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* intrinsics/c99_functions.c: Add function prototypes to avoid
|
||||
|
770
libgfortran/configure
vendored
770
libgfortran/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -116,6 +116,9 @@ if test "x$GCC" = "xyes"; then
|
||||
## We like to use C99 routines when available. This makes sure that
|
||||
## __STDC_VERSION__ is set such that libc includes make them available.
|
||||
AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
|
||||
## Compile the following tests with the same system header contents
|
||||
## that we'll encounter when compiling our own source files.
|
||||
CFLAGS="-std=gnu99 $CFLAGS"
|
||||
fi
|
||||
AC_SUBST(AM_FCFLAGS)
|
||||
AC_SUBST(AM_CFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user