X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSupport%2FMakefile;h=39426aaaaceef8065f94357bc45f4c2603f18293;hb=487ecab8d41e70700ca27895127b99f955e31fd0;hp=7f76ed702d2fdb616beaecc9bb0a151171a6ba85;hpb=fc643c5e88c596f217750dd91fcc66488dfed73d;p=oota-llvm.git diff --git a/lib/Support/Makefile b/lib/Support/Makefile index 7f76ed702d2..39426aaaace 100644 --- a/lib/Support/Makefile +++ b/lib/Support/Makefile @@ -1,17 +1,23 @@ ##===- lib/Support/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 = LLVMSupport BUILD_ARCHIVE = 1 -## FIXME: This only requires RTTI because tblgen uses it. Fix that. -REQUIRES_RTTI = 1 +EXTRA_DIST = Unix Win32 README.txt include $(LEVEL)/Makefile.common + +CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) +CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts)) + +ifdef LLVM_VERSION_INFO +CompileCommonOpts += -DLLVM_VERSION_INFO='"$(LLVM_VERSION_INFO)"' +endif