I did not take the patch for ClangExpressionParser.cpp since there was a recent change by Peter for the same line. Feel free to disagree. :-) Reference: ---------------------------------------------------------------------- r136580 | pcc | 2011-07-30 15:42:24 -0700 (Sat, 30 Jul 2011) | 3 lines Add reloc arg to standard JIT createJIT() Fixes non-__APPLE__ build. Patch by Matt Johnson! ---------------------------------------------------------------------- Also, I ignore the part of the patch to remove the RegisterContextDarwin*.h/.cpp. llvm-svn: 136720
32 lines
823 B
Makefile
32 lines
823 B
Makefile
##===- tools/driver/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 := ../..
|
|
|
|
TOOLNAME = lldb
|
|
|
|
LD.Flags += -ledit -llldb -llldbUtility
|
|
|
|
include $(LLDB_LEVEL)/Makefile
|
|
|
|
ifeq ($(HOST_OS),Darwin)
|
|
LD.Flags += -Wl,-rpath,@loader_path/../lib/
|
|
LD.Flags += -Wl,-sectcreate -Wl,__TEXT -Wl,__info_plist -Wl,"$(PROJ_SRC_DIR)/lldb-Info.plist"
|
|
endif
|
|
|
|
ifeq ($(HOST_OS),Linux)
|
|
LD.Flags += -Wl,-rpath,$(LibDir)
|
|
endif
|
|
|
|
ifeq ($(HOST_OS),FreeBSD)
|
|
CPP.Flags += -I/usr/include/edit #-v
|
|
LD.Flags += -lEnhancedDisassembly
|
|
LD.Flags += -Wl,-rpath,$(LibDir)
|
|
endif
|
|
|