mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Only build libedis if ENABLE_SHARED is specified, just like liblto.
Don't build any of the dynamic library stuff on cygwin/mingw. llvm-svn: 97771
This commit is contained in:
parent
bbffb2392c
commit
41804bf422
@ -21,8 +21,8 @@ PARALLEL_DIRS := opt llvm-as llvm-dis \
|
|||||||
llvm-ld llvm-prof llvm-link \
|
llvm-ld llvm-prof llvm-link \
|
||||||
lli llvm-extract \
|
lli llvm-extract \
|
||||||
bugpoint llvm-bcanalyzer llvm-stub \
|
bugpoint llvm-bcanalyzer llvm-stub \
|
||||||
llvm-mc llvmc \
|
llvm-mc llvmc
|
||||||
edis
|
|
||||||
|
|
||||||
# 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,18 +32,19 @@ endif
|
|||||||
|
|
||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
|
# These libraries build as dynamic libraries (.dylib /.so), they can only be
|
||||||
|
# built if ENABLE_PIC is set.
|
||||||
ifeq ($(ENABLE_PIC),1)
|
ifeq ($(ENABLE_PIC),1)
|
||||||
PARALLEL_DIRS += lto
|
# No support for dynamic libraries on windows targets.
|
||||||
ifdef BINUTILS_INCDIR
|
ifneq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW))
|
||||||
PARALLEL_DIRS += gold
|
PARALLEL_DIRS += lto edis
|
||||||
|
# gold only builds if binutils is around.
|
||||||
|
ifdef BINUTILS_INCDIR
|
||||||
|
PARALLEL_DIRS += gold
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# No support for lto / gold on windows targets
|
|
||||||
ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW))
|
|
||||||
PARALLEL_DIRS := $(filter-out lto gold, $(DIRS))
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Only build edis if X86 target support is enabled.
|
# Only build edis if X86 target support is enabled.
|
||||||
ifeq ($(filter $(TARGETS_TO_BUILD), X86),)
|
ifeq ($(filter $(TARGETS_TO_BUILD), X86),)
|
||||||
PARALLEL_DIRS := $(filter-out edis, $(PARALLEL_DIRS))
|
PARALLEL_DIRS := $(filter-out edis, $(PARALLEL_DIRS))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user