forked from OSchip/llvm-project
tools/Makefile: Enable building lto, edis and bugpoint-passes on Cygming.
bugpoint-passes would be built with ENABLE_SHARED=1. You could try building gold on Cygming, though, it would fail. llvm-svn: 120275
This commit is contained in:
parent
4fc56f0be7
commit
142b32535e
|
@ -35,8 +35,6 @@ 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)
|
||||
# No support for dynamic libraries on windows targets.
|
||||
ifneq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW))
|
||||
# gold only builds if binutils is around. It requires "lto" to build before
|
||||
# it so it is added to DIRS.
|
||||
ifdef BINUTILS_INCDIR
|
||||
|
@ -55,10 +53,17 @@ ifeq ($(ENABLE_PIC),1)
|
|||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef LLVM_HAS_POLLY
|
||||
PARALLEL_DIRS += polly
|
||||
endif
|
||||
|
||||
# On Win32, loadable modules can be built with ENABLE_SHARED.
|
||||
ifneq ($(ENABLE_SHARED),1)
|
||||
ifneq (,$(filter $(TARGET_OS), Cygwin MingW))
|
||||
PARALLEL_DIRS := $(filter-out bugpoint-passes, \
|
||||
$(PARALLEL_DIRS))
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
|
Loading…
Reference in New Issue