]> granicus.if.org Git - clang/commitdiff
Define ENABLE_CLANG_ARCMT in the legacy build system too
authorAlp Toker <alp@nuanti.com>
Mon, 14 Jul 2014 23:15:48 +0000 (23:15 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 14 Jul 2014 23:15:48 +0000 (23:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213010 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/Makefile

index 41d5166c65ff288b92fc5e770dd94edfb99cf413..c03f38b83ac93030f079b8febd9c113ecbe98a5a 100644 (file)
@@ -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?
 ##===----------------------------------------------------------------------===##