mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
LLVMC doesn't need ENABLE_PIC to build now.
llvm-svn: 74783
This commit is contained in:
parent
78ecb66f56
commit
1056032a99
@ -605,10 +605,10 @@ AC_ARG_ENABLE(llvmc-dynamic,AS_HELP_STRING(
|
|||||||
--enable-llvmc-dynamic,
|
--enable-llvmc-dynamic,
|
||||||
[Link LLVMC dynamically (default is NO, unless on Win32)]),,
|
[Link LLVMC dynamically (default is NO, unless on Win32)]),,
|
||||||
enableval=$llvmc_dynamic)
|
enableval=$llvmc_dynamic)
|
||||||
if test ${enableval} = "no"; then
|
if test ${enableval} = "yes" && test "$ENABLE_PIC" -eq 1; then
|
||||||
AC_SUBST(ENABLE_LLVMC_DYNAMIC,[[]])
|
|
||||||
else
|
|
||||||
AC_SUBST(ENABLE_LLVMC_DYNAMIC,[[ENABLE_LLVMC_DYNAMIC=1]])
|
AC_SUBST(ENABLE_LLVMC_DYNAMIC,[[ENABLE_LLVMC_DYNAMIC=1]])
|
||||||
|
else
|
||||||
|
AC_SUBST(ENABLE_LLVMC_DYNAMIC,[[]])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl===-----------------------------------------------------------------------===
|
dnl===-----------------------------------------------------------------------===
|
||||||
|
@ -11,13 +11,7 @@ LEVEL = ..
|
|||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
PARALLEL_DIRS := VMCore AsmParser Bitcode Archive Analysis Transforms CodeGen \
|
PARALLEL_DIRS := VMCore AsmParser Bitcode Archive Analysis Transforms CodeGen \
|
||||||
Target ExecutionEngine Debugger Linker MC
|
Target ExecutionEngine Debugger Linker MC CompilerDriver
|
||||||
|
|
||||||
# Only build the CompilerDriver when PIC is enabled.
|
|
||||||
|
|
||||||
ifeq ($(ENABLE_PIC),1)
|
|
||||||
PARALLEL_DIRS += CompilerDriver
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ PARALLEL_DIRS := opt llvm-as llvm-dis \
|
|||||||
llvm-ld llvm-prof llvm-link \
|
llvm-ld llvm-prof llvm-link \
|
||||||
lli gccas gccld llvm-extract llvm-db \
|
lli gccas gccld llvm-extract llvm-db \
|
||||||
bugpoint llvm-bcanalyzer llvm-stub \
|
bugpoint llvm-bcanalyzer llvm-stub \
|
||||||
llvm-mc
|
llvm-mc llvmc
|
||||||
|
|
||||||
# Let users override the set of tools to build from the command line.
|
# Let users override the set of tools to build from the command line.
|
||||||
ifdef ONLY_TOOLS
|
ifdef ONLY_TOOLS
|
||||||
@ -32,7 +32,7 @@ endif
|
|||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
ifeq ($(ENABLE_PIC),1)
|
ifeq ($(ENABLE_PIC),1)
|
||||||
DIRS += lto llvmc
|
DIRS += lto
|
||||||
ifdef BINUTILS_INCDIR
|
ifdef BINUTILS_INCDIR
|
||||||
DIRS += gold
|
DIRS += gold
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user