mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
suck the propagating "has dynamic libs" check into a single makefile
variable TARGET_HAS_DYNAMIC_LIBS git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100896 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
21aa347c28
commit
e3a39d40db
@ -321,6 +321,12 @@ CXX_INCLUDE_ARCH := @CXX_INCLUDE_ARCH@
|
||||
CXX_INCLUDE_32BIT_DIR = @CXX_INCLUDE_32BIT_DIR@
|
||||
CXX_INCLUDE_64BIT_DIR = @CXX_INCLUDE_64BIT_DIR@
|
||||
|
||||
# TARGET_HAS_DYNAMIC_LIBS - This is set if the target supports dynamic linking
|
||||
# .dylib or .so files.
|
||||
ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix))
|
||||
TARGET_HAS_DYNAMIC_LIBS := 1
|
||||
endif
|
||||
|
||||
# When ENABLE_LLVMC_DYNAMIC is enabled, LLVMC will link libCompilerDriver
|
||||
# dynamically. This is needed to make dynamic plugins work on some targets
|
||||
# (Windows).
|
||||
|
@ -12,8 +12,8 @@ PARALLEL_DIRS = Utils Instrumentation Scalar InstCombine IPO Hello
|
||||
|
||||
include $(LEVEL)/Makefile.config
|
||||
|
||||
# No support for plugins on windows targets
|
||||
ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW Minix))
|
||||
# Some targets don't support plugins
|
||||
ifdef $(TARGET_HAS_DYNAMIC_LIBS)
|
||||
PARALLEL_DIRS := $(filter-out Hello, $(PARALLEL_DIRS))
|
||||
endif
|
||||
|
||||
|
@ -20,7 +20,7 @@ ifeq ($(ARCH), Sparc)
|
||||
PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix))
|
||||
ifdef $(TARGET_HAS_DYNAMIC_LIBS)
|
||||
PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user