Add an explicit initialization to work around what appears to be a valgrind
[oota-llvm.git] / lib / System / Makefile
index fe5bcece7eab178a60de483c1b15c98bbdffa5a7..bb013b9f1f1624762aa590cce6d5985e187d2b50 100644 (file)
@@ -1,15 +1,21 @@
 ##===- 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
+REQUIRES_RTTI = 1
+include $(LEVEL)/Makefile.config
+
+ifeq ($(HOST_OS),MingW)
+  REQUIRES_EH := 1
+endif
 
 EXTRA_DIST = Unix Win32 README.txt