From 29d53070eacf1c89a878186bceb740fe522a1ee4 Mon Sep 17 00:00:00 2001 From: "Taylor R. Campbell" Date: Sat, 20 Jan 2007 03:08:49 +0000 Subject: [PATCH] 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. --- v7/src/microcode/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1