llvm.org GIT mirror llvm / 86a3510
LLVMC doesn't need ENABLE_PIC to build now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74783 91177308-0d34-0410-b5e6-96231b3b80d8 Mikhail Glushenkov 11 years ago
3 changed file(s) with 6 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
604604 --enable-llvmc-dynamic,
605605 [Link LLVMC dynamically (default is NO, unless on Win32)]),,
606606 enableval=$llvmc_dynamic)
607 if test ${enableval} = "no"; then
607 if test ${enableval} = "yes" && test "$ENABLE_PIC" -eq 1; then
608 AC_SUBST(ENABLE_LLVMC_DYNAMIC,[[ENABLE_LLVMC_DYNAMIC=1]])
609 else
608610 AC_SUBST(ENABLE_LLVMC_DYNAMIC,[[]])
609 else
610 AC_SUBST(ENABLE_LLVMC_DYNAMIC,[[ENABLE_LLVMC_DYNAMIC=1]])
611611 fi
612612
613613 dnl===-----------------------------------------------------------------------===
1010 include $(LEVEL)/Makefile.config
1111
1212 PARALLEL_DIRS := VMCore AsmParser Bitcode Archive Analysis Transforms CodeGen \
13 Target ExecutionEngine Debugger Linker MC
14
15 # Only build the CompilerDriver when PIC is enabled.
16
17 ifeq ($(ENABLE_PIC),1)
18 PARALLEL_DIRS += CompilerDriver
19 endif
13 Target ExecutionEngine Debugger Linker MC CompilerDriver
2014
2115 include $(LEVEL)/Makefile.common
2216
2020 llvm-ld llvm-prof llvm-link \
2121 lli gccas gccld llvm-extract llvm-db \
2222 bugpoint llvm-bcanalyzer llvm-stub \
23 llvm-mc
23 llvm-mc llvmc
2424
2525 # Let users override the set of tools to build from the command line.
2626 ifdef ONLY_TOOLS
3131 include $(LEVEL)/Makefile.config
3232
3333 ifeq ($(ENABLE_PIC),1)
34 DIRS += lto llvmc
34 DIRS += lto
3535 ifdef BINUTILS_INCDIR
3636 DIRS += gold
3737 endif