From: Taylor R. Campbell Date: Sat, 20 Jan 2007 03:08:49 +0000 (+0000) Subject: Pass `-MG' to `gcc' in the generated `makegen-cc' script. The meaning X-Git-Tag: 20090517-FFI~768 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=29d53070eacf1c89a878186bceb740fe522a1ee4;p=mit-scheme.git Pass `-MG' to `gcc' in the generated `makegen-cc' script. The meaning of `-MM' was changed in recent versions of GCC so that it does not mask errors about absent system headers, but with `-MG' it uses the old semantics. --- diff --git a/v7/src/microcode/configure.ac b/v7/src/microcode/configure.ac index c8509a99d..5c5925f2e 100644 --- a/v7/src/microcode/configure.ac +++ b/v7/src/microcode/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([MIT/GNU Scheme microcode], [14.18], [bug-mit-scheme@gnu.org], [mit-scheme]) -AC_REVISION([$Id: configure.ac,v 1.31 2007/01/13 07:45:54 cph Exp $]) +AC_REVISION([$Id: configure.ac,v 1.32 2007/01/20 03:08:49 riastradh Exp $]) AC_CONFIG_SRCDIR([boot.c]) AC_CONFIG_HEADERS([config.h]) AC_PROG_MAKE_SET @@ -895,7 +895,7 @@ AC_OUTPUT # Make custom compilation program for "makegen.scm". rm -f makegen-cc echo "#!/bin/sh" > makegen-cc -echo exec gcc -MM -DMIT_SCHEME ${CPPFLAGS} '"${1}"' >> makegen-cc +echo exec gcc -MM -MG -DMIT_SCHEME ${CPPFLAGS} '"${1}"' >> makegen-cc chmod +x makegen-cc if test ${MODULE_RULES} != /dev/null; then