From: Alp Toker Date: Mon, 14 Jul 2014 23:15:48 +0000 (+0000) Subject: Define ENABLE_CLANG_ARCMT in the legacy build system too X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3d50b014d5f4a72d3d858b624e7b0ef387a5ce6;p=clang Define ENABLE_CLANG_ARCMT in the legacy build system too git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213010 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/libclang/Makefile b/tools/libclang/Makefile index 41d5166c65..c03f38b83a 100644 --- a/tools/libclang/Makefile +++ b/tools/libclang/Makefile @@ -37,6 +37,10 @@ ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU GNU/kFreeBSD)) LLVMLibsOptions += -Wl,-soname,lib$(LIBRARYNAME)$(SHLIBEXT) endif +ifeq ($(ENABLE_CLANG_ARCMT),1) + CXX.Flags += -DCLANG_ENABLE_ARCMT +endif + ##===----------------------------------------------------------------------===## # FIXME: This is copied from the 'lto' makefile. Should we share this? ##===----------------------------------------------------------------------===##