Re-enable 91381 with fixes.
[oota-llvm.git] / lib / System / Makefile
index fe5bcece7eab178a60de483c1b15c98bbdffa5a7..d4fd60eee5f62d9acea676f8352059dcba29d340 100644 (file)
@@ -1,16 +1,22 @@
 ##===- lib/System/Makefile ---------------------------------*- Makefile -*-===##
-# 
+#
 #                     The LLVM Compiler Infrastructure
 #
 # This file is distributed under the University of Illinois Open Source
 # License. See LICENSE.TXT for details.
-# 
+#
 ##===----------------------------------------------------------------------===##
 
 LEVEL = ../..
 LIBRARYNAME = LLVMSystem
 BUILD_ARCHIVE = 1
 
+include $(LEVEL)/Makefile.config
+
+ifeq ($(HOST_OS),MingW)
+  REQUIRES_EH := 1
+endif
+
 EXTRA_DIST = Unix Win32 README.txt
 
 include $(LEVEL)/Makefile.common