Kaydet (Commit) c4688ad9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Allow --disable-pch for clang-cl

...which doesn't support the cl PCH cmd line args yet

Change-Id: I0a5a4d6c82138992c6e40b5958a41a7fa0be88ac
üst 871b5abf
...@@ -4938,11 +4938,11 @@ dnl enable pch by default on windows ...@@ -4938,11 +4938,11 @@ dnl enable pch by default on windows
dnl enable it explicitely otherwise dnl enable it explicitely otherwise
AC_MSG_CHECKING([whether to enable pch feature]) AC_MSG_CHECKING([whether to enable pch feature])
ENABLE_PCH="" ENABLE_PCH=""
if test "$_os" = "WINNT" -a "$WITH_MINGW" != "yes"; then if test "$enable_pch" != "no"; then
ENABLE_PCH="TRUE" if test "$_os" = "WINNT" -a "$WITH_MINGW" != "yes"; then
AC_MSG_RESULT([yes]) ENABLE_PCH="TRUE"
elif test "$enable_pch" != "no"; then AC_MSG_RESULT([yes])
if test -n "$enable_pch" && test "$GCC" = "yes"; then elif test -n "$enable_pch" && test "$GCC" = "yes"; then
ENABLE_PCH="TRUE" ENABLE_PCH="TRUE"
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
elif test -n "$enable_pch"; then elif test -n "$enable_pch"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment