Files
clang-p2996/lldb/source/Utility/Makefile
Daniel Malea 48b917bceb Enable RTTI for liblldbCore.a when GCC is the compiler
- gcc does not like -fno-rtti mixed with dynamic_cast<> (in cxa_demangle.cpp)

llvm-svn: 169767
2012-12-10 21:05:57 +00:00

23 lines
620 B
Makefile

##===- source/Utility/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 := lldbUtility
BUILD_ARCHIVE = 1
NO_PEDANTIC = 1
# Enable RTTI on GCC builds because liblldbCore.a requires RTTI.
# See source/Core/Makefile for details.
ifeq (g++,$(shell basename $(CXX)))
REQUIRES_RTTI = 1
endif
include $(LLDB_LEVEL)/Makefile