From: Andrew Lenharth Date: Mon, 25 Feb 2008 22:41:55 +0000 (+0000) Subject: when making bytecode modules, link as library X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;ds=sidebyside;h=a7b33db5e95cb5f1fa857b7652f94da3461758dd;p=oota-llvm.git when making bytecode modules, link as library git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47574 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index 0367874b2af..7a33033d1cb 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -728,7 +728,7 @@ $(warning Modules require llvm-gcc but no llvm-gcc is available ****) else Module := $(LibDir)/$(MODULE_NAME).bc -LinkModule := $(LLVMLD) -L$(CFERuntimeLibDir) +LinkModule := $(LLVMLD) -L$(CFERuntimeLibDir) -r ifdef EXPORTED_SYMBOL_FILE