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.
This commit is contained in:
parent
8caad6ed7c
commit
80bf64fc27
|
|
@ -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"]))
|
||||
|
|
|
|||
Loading…
Reference in New Issue