mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
build: Fix ONLY_TOOLS to not build lto etc. unless specified.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7232b09619
commit
b8810a3886
@ -34,6 +34,7 @@ include $(LEVEL)/Makefile.config
|
|||||||
|
|
||||||
# These libraries build as dynamic libraries (.dylib /.so), they can only be
|
# These libraries build as dynamic libraries (.dylib /.so), they can only be
|
||||||
# built if ENABLE_PIC is set.
|
# built if ENABLE_PIC is set.
|
||||||
|
ifndef ONLY_TOOLS
|
||||||
ifeq ($(ENABLE_PIC),1)
|
ifeq ($(ENABLE_PIC),1)
|
||||||
# gold only builds if binutils is around. It requires "lto" to build before
|
# gold only builds if binutils is around. It requires "lto" to build before
|
||||||
# it so it is added to DIRS.
|
# it so it is added to DIRS.
|
||||||
@ -57,6 +58,7 @@ endif
|
|||||||
ifdef LLVM_HAS_POLLY
|
ifdef LLVM_HAS_POLLY
|
||||||
PARALLEL_DIRS += polly
|
PARALLEL_DIRS += polly
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# On Win32, loadable modules can be built with ENABLE_SHARED.
|
# On Win32, loadable modules can be built with ENABLE_SHARED.
|
||||||
ifneq ($(ENABLE_SHARED),1)
|
ifneq ($(ENABLE_SHARED),1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user