about summary refs log tree commit diff homepage
path: root/Makefile.rules
diff options
context:
space:
mode:
authorMartin Nowack <martin@se.inf.tu-dresden.de>2013-06-05 23:02:25 +0200
committerMartin Nowack <martin.nowack@gmail.com>2013-08-15 16:50:44 +0200
commit5004054aec1e5cb69f8ce00f2295cc28d009a336 (patch)
tree928dfb90d21a1e864b13adff6c71de87f5bda72f /Makefile.rules
parent2fdad5968a4783e225a1024cb23b7ade1fa823f5 (diff)
downloadklee-5004054aec1e5cb69f8ce00f2295cc28d009a336.tar.gz
Use llvm-link instead of deprecated llvm-ld
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 1026f2ff..f01649a9 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -477,7 +477,7 @@ ifndef TBLGEN
 endif
 LLVM_CONFIG := $(LLVMToolDir)/llvm-config
 ifndef LLVMLD
-LLVMLD    := $(LLVMToolDir)/llvm-ld$(EXEEXT)
+LLVMLD    := $(LLVMToolDir)/llvm-link$(EXEEXT)
 endif
 ifndef LLVMDIS
 LLVMDIS  := $(LLVMToolDir)/llvm-dis$(EXEEXT)
@@ -1046,7 +1046,7 @@ $(warning Modules require LLVM capable compiler but none is available ****)
 else
 
 Module     := $(LibDir)/$(MODULE_NAME).bc
-LinkModule := $(LLVMLD) -r
+LinkModule := $(LLVMLD)
 
 
 ifdef EXPORTED_SYMBOL_FILE