mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 21:34:23 +00:00
Don't build LLVMC when configured with --disable-pic (it needs requires shared
module support to build). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74456 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6c839926ba
commit
74deeb84bd
12
lib/Makefile
12
lib/Makefile
@ -8,8 +8,16 @@
|
|||||||
##===----------------------------------------------------------------------===##
|
##===----------------------------------------------------------------------===##
|
||||||
LEVEL = ..
|
LEVEL = ..
|
||||||
|
|
||||||
PARALLEL_DIRS = VMCore AsmParser Bitcode Archive Analysis Transforms CodeGen \
|
include $(LEVEL)/Makefile.config
|
||||||
Target ExecutionEngine Debugger Linker CompilerDriver MC
|
|
||||||
|
PARALLEL_DIRS := VMCore AsmParser Bitcode Archive Analysis Transforms CodeGen \
|
||||||
|
Target ExecutionEngine Debugger Linker MC
|
||||||
|
|
||||||
|
# Only build the CompilerDriver when PIC is enabled.
|
||||||
|
|
||||||
|
ifeq ($(ENABLE_PIC),1)
|
||||||
|
PARALLEL_DIRS += CompilerDriver
|
||||||
|
endif
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ PARALLEL_DIRS := opt llvm-as llvm-dis \
|
|||||||
llc llvm-ranlib llvm-ar llvm-nm \
|
llc llvm-ranlib llvm-ar llvm-nm \
|
||||||
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 llvmc \
|
bugpoint llvm-bcanalyzer llvm-stub \
|
||||||
llvm-mc
|
llvm-mc
|
||||||
|
|
||||||
# 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.
|
||||||
@ -32,7 +32,7 @@ endif
|
|||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
ifeq ($(ENABLE_PIC),1)
|
ifeq ($(ENABLE_PIC),1)
|
||||||
DIRS += lto
|
DIRS += lto llvmc
|
||||||
ifdef BINUTILS_INCDIR
|
ifdef BINUTILS_INCDIR
|
||||||
DIRS += gold
|
DIRS += gold
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user