1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

build: Fix ONLY_TOOLS to not build lto etc. unless specified.

llvm-svn: 121969
This commit is contained in:
Daniel Dunbar 2010-12-16 15:42:26 +00:00
parent 5a1b90fce5
commit 791c24f14a

View File

@ -34,6 +34,7 @@ include $(LEVEL)/Makefile.config
# These libraries build as dynamic libraries (.dylib /.so), they can only be
# built if ENABLE_PIC is set.
ifndef ONLY_TOOLS
ifeq ($(ENABLE_PIC),1)
# gold only builds if binutils is around. It requires "lto" to build before
# it so it is added to DIRS.
@ -57,6 +58,7 @@ endif
ifdef LLVM_HAS_POLLY
PARALLEL_DIRS += polly
endif
endif
# On Win32, loadable modules can be built with ENABLE_SHARED.
ifneq ($(ENABLE_SHARED),1)