Reapply commit 112702 which was speculatively reverted by echristo.
[oota-llvm.git] / lib / System / Makefile
1 ##===- lib/System/Makefile ---------------------------------*- Makefile -*-===##
2 #
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
9
10 LEVEL = ../..
11 LIBRARYNAME = LLVMSystem
12 BUILD_ARCHIVE = 1
13 REQUIRES_RTTI = 1
14 include $(LEVEL)/Makefile.config
15
16 ifeq ($(HOST_OS),MingW)
17   REQUIRES_EH := 1
18 endif
19
20 EXTRA_DIST = Unix Win32 README.txt
21
22 include $(LEVEL)/Makefile.common
23
24 CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
25 CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))