From 80bf64fc27b8757a03953ed9f4d0adbf149981a0 Mon Sep 17 00:00:00 2001 From: Cary R Date: Thu, 13 May 2010 18:01:57 -0700 Subject: [PATCH] Use -xMMD instead of -xMD on OpenSolaris. Using -xMD generates dependencies for all files including the system files. This could point to some system .cc files and was causing GNU make to try to build these files if the dependency files existed. Using -xMMD generates only the dependencies outside the system directories. It's possible that the OpenSolaris make knows how to deal with this correctly, but Icarus needs GNU make. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 76e4f6baa..da227e156 100644 --- a/configure.in +++ b/configure.in @@ -58,7 +58,7 @@ AC_SUBST(EXEEXT) # Combined check for Microsoft-related bogosities; sets WIN32 if found AX_WIN32 -AC_CHECK_DECL(__SUNPRO_C, AC_SUBST(DEPENDENCY_FLAG, [-xMD]), +AC_CHECK_DECL(__SUNPRO_C, AC_SUBST(DEPENDENCY_FLAG, [-xMMD]), AC_SUBST(DEPENDENCY_FLAG, [-MD])) AC_CHECK_DECL(__SUNPRO_C, AC_SUBST(WARNING_FLAGS, []), AC_SUBST(WARNING_FLAGS, ["-Wall -Wshadow"]))