X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSystem%2FMakefile;h=bb013b9f1f1624762aa590cce6d5985e187d2b50;hb=6ccd0da0fe0186380c7ad9aa50128d3d3ab09794;hp=d0a7acff26bbbd160d3f151560f5758df6423dfe;hpb=6cb21d443eff9369e4f9035af28efd627e8f3909;p=oota-llvm.git diff --git a/lib/System/Makefile b/lib/System/Makefile index d0a7acff26b..bb013b9f1f1 100644 --- a/lib/System/Makefile +++ b/lib/System/Makefile @@ -1,15 +1,25 @@ ##===- lib/System/Makefile ---------------------------------*- Makefile -*-===## -# +# # The LLVM Compiler Infrastructure # -# This file was developed by Reid Spencer and is distributed under the -# University of Illinois Open Source License. See LICENSE.TXT for details. -# +# 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 -EXTRA_DIST = AIX Cygwin Darwin FreeBSD Interix Linux SunOS Unix Win32 +ifeq ($(HOST_OS),MingW) + REQUIRES_EH := 1 +endif + +EXTRA_DIST = Unix Win32 README.txt include $(LEVEL)/Makefile.common + +CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) +CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))