diff options
author | Zoltan Varga <vargaz@gmail.com> | 2008-06-11 23:08:09 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2008-06-11 23:08:09 +0400 |
commit | ccf1314a9834febd9794f51c6342b4f566c4f5e3 (patch) | |
tree | bfcf78ce149823c633a8128a2182146c301e17ab /configure.in | |
parent | 294ce456e29a9b1e72afd4805e966d1fa61b935e (diff) |
2008-06-11 Zoltan Varga <vargaz@gmail.com>
* configure.in: Remove -D_FILE_OFFSET_BITS=64 from the CPPFLAGS passed to
libgc on sparc. Fixes #323138.
svn path=/trunk/mono/; revision=105634
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 0c4b00252e7..0e27aaf43b3 100644 --- a/configure.in +++ b/configure.in @@ -2079,7 +2079,11 @@ case "x$gc" in # The problem with this approach, is that during a reconfigure, the main # configure scripts gets invoked with these arguments, so we use separate # variables understood by libgc's configure to pass CPPFLAGS and CFLAGS. - ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads $libgc_configure_args \"CPPFLAGS_FOR_LIBGC=$CPPFLAGS\" \"CFLAGS_FOR_LIBGC=$CFLAGS_FOR_LIBGC\"" + LIBGC_CPPFLAGS=$CPPFLAGS + if test x$TARGET = xSPARC -o x$TARGET = xSPARC64; then + LIBGC_CPPFLAGS=`echo $LIBGC_CPPFLAGS | sed -e 's/-D_FILE_OFFSET_BITS=64//g'` + fi + ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads $libgc_configure_args \"CPPFLAGS_FOR_LIBGC=$LIBGC_CPPFLAGS\" \"CFLAGS_FOR_LIBGC=$CFLAGS_FOR_LIBGC\"" AC_CONFIG_SUBDIRS(libgc) ;; esac |