diff --git a/tools/Makefile b/tools/Makefile index 012d8e6f888..8a6751ab872 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -35,23 +35,23 @@ 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) - # gold only builds if binutils is around. It requires "lto" to build before - # it so it is added to DIRS. - ifdef BINUTILS_INCDIR - DIRS += lto gold - else - PARALLEL_DIRS += lto - endif + # gold only builds if binutils is around. It requires "lto" to build before + # it so it is added to DIRS. + ifdef BINUTILS_INCDIR + DIRS += lto gold + else + PARALLEL_DIRS += lto + endif - PARALLEL_DIRS += bugpoint-passes + PARALLEL_DIRS += bugpoint-passes - # The edis library is only supported if ARM and/or X86 are enabled, and if - # LLVM is being built PIC on platforms that support dylibs. - ifneq ($(DISABLE_EDIS),1) + # The edis library is only supported if ARM and/or X86 are enabled, and if + # LLVM is being built PIC on platforms that support dylibs. + ifneq ($(DISABLE_EDIS),1) ifneq ($(filter $(TARGETS_TO_BUILD), X86 ARM),) PARALLEL_DIRS += edis endif - endif + endif endif ifdef LLVM_HAS_POLLY