diff --git a/configure.in b/configure.in index b210db113e24..c031d653ee71 100644 --- a/configure.in +++ b/configure.in @@ -2882,7 +2882,11 @@ AC_SUBST(VISIBILITY_FLAGS) MOZ_GCC_PR49911 MOZ_GCC_PR39608 -MOZ_LLVM_PR8927 +if test "$OS_TARGET" != WINNT; then + # Only run this test with clang on non-Windows platforms, because clang + # cannot do enough code gen for now to make this test work correctly. + MOZ_LLVM_PR8927 +fi dnl Check for __force_align_arg_pointer__ for SSE2 on gcc dnl ======================================================== diff --git a/js/src/configure.in b/js/src/configure.in index 9f41fa9de187..d29998fde5a0 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -2457,7 +2457,11 @@ AC_SUBST(VISIBILITY_FLAGS) MOZ_GCC_PR49911 MOZ_GCC_PR39608 -MOZ_LLVM_PR8927 +if test "$OS_TARGET" != WINNT; then + # Only run this test with clang on non-Windows platforms, because clang + # cannot do enough code gen for now to make this test work correctly. + MOZ_LLVM_PR8927 +fi dnl Checks for header files. dnl ========================================================