[Lldb-commits] [lldb] r173732 - Adding a Makefile. Hopefully that will make the Linux buildbot happy
Enrico Granata
egranata at apple.com
Mon Jan 28 16:29:34 PST 2013
Author: enrico
Date: Mon Jan 28 18:29:33 2013
New Revision: 173732
URL: http://llvm.org/viewvc/llvm-project?rev=173732&view=rev
Log:
Adding a Makefile. Hopefully that will make the Linux buildbot happy
Added:
lldb/trunk/source/DataFormatters/Makefile
Added: lldb/trunk/source/DataFormatters/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/Makefile?rev=173732&view=auto
==============================================================================
--- lldb/trunk/source/DataFormatters/Makefile (added)
+++ lldb/trunk/source/DataFormatters/Makefile Mon Jan 28 18:29:33 2013
@@ -0,0 +1,25 @@
+##===- source/DataFormatters/Makefile -------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LLDB_LEVEL := ../..
+LIBRARYNAME := lldbCore
+BUILD_ARCHIVE = 1
+
+# Enable RTTI on GCC builds because one source file in this directory
+# (cxa_demangle.cpp) uses dynamic_cast<> and GCC (at least 4.6 and 4.7)
+# complain if we try to compile it with -fno-rtti. This is somewhat of a
+# kludge because it forces us to enable RTTI in liblldbUtility.a and also
+# link in additional clang static libraries to resolve vtable references,
+# but actually has negligible impact on (shard object) file size.
+$(info shell basename CXX is $(shell basename $(CXX)))
+ifeq (g++,$(shell basename $(CXX)))
+ REQUIRES_RTTI = 1
+endif
+
+include $(LLDB_LEVEL)/Makefile
More information about the lldb-commits
mailing list