aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/configure.ac
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2005-11-05 21:09:13 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2005-11-05 21:09:13 +0000
commit17109ecb500023b15b0900b835b41b8313d82e8c (patch)
treee29c743b82f2f1ee1e278acb8b57aa446a4856b4 /libgfortran/configure.ac
parent831d78138036d234b10f475b4b03070c07437a33 (diff)
downloadgcc-17109ecb500023b15b0900b835b41b8313d82e8c.zip
gcc-17109ecb500023b15b0900b835b41b8313d82e8c.tar.gz
gcc-17109ecb500023b15b0900b835b41b8313d82e8c.tar.bz2
configure.ac: Use AM_FCFLAGS for extra flags, not FCFLAGS.
2005-11-05 Richard Guenther <rguenther@suse.de> * configure.ac: Use AM_FCFLAGS for extra flags, not FCFLAGS. * configure: Regenerate. From-SVN: r106535
Diffstat (limited to 'libgfortran/configure.ac')
-rw-r--r--libgfortran/configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index 1808455..6ca4565 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -109,9 +109,9 @@ m4_define([_AC_ARG_VAR_PRECIOUS],[])
AC_PROG_CC
m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])
-# Add -Wall if we are using GCC.
+# Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
if test "x$GCC" = "xyes"; then
- AM_FCFLAGS="-Wall"
+ AM_FCFLAGS="-Wall -fno-repack-arrays -fno-underscoring"
## 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"
@@ -135,11 +135,9 @@ AC_SUBST(enable_static)
#AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
# We need gfortran to compile parts of the library
-# We can't use AC_PROG_FC because it expects a fully working gfortran.
#AC_PROG_FC(gfortran)
FC="$GFORTRAN"
AC_PROG_FC(gfortran)
-FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
# extra LD Flags which are required for targets
case "${host}" in