diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-05 02:34:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-05 02:34:34 +0000 |
commit | 5ec1b24f8fd186bdd8625f74c0815a3bbfcd1bf4 (patch) | |
tree | d4a7f1ead5573ab467eb8064cd28b0b14dc5990b | |
parent | ba9eb0bf2ec0e2ef9d001e18d227815e2c4b014e (diff) | |
download | bcm5719-llvm-5ec1b24f8fd186bdd8625f74c0815a3bbfcd1bf4.tar.gz bcm5719-llvm-5ec1b24f8fd186bdd8625f74c0815a3bbfcd1bf4.zip |
apparently if gold is around lto needs to be part of DIRS.
llvm-svn: 97780
-rw-r--r-- | llvm/tools/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/llvm/tools/Makefile b/llvm/tools/Makefile index 64179fd706a..86ba72ddacc 100644 --- a/llvm/tools/Makefile +++ b/llvm/tools/Makefile @@ -37,10 +37,15 @@ include $(LEVEL)/Makefile.config ifeq ($(ENABLE_PIC),1) # No support for dynamic libraries on windows targets. ifneq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW)) - PARALLEL_DIRS += lto edis - # gold only builds if binutils is around. + PARALLEL_DIRS += edis + + # gold only builds if binutils is around. It requires "lto" to build before + # it so it is added to DIRS. ifdef BINUTILS_INCDIR PARALLEL_DIRS += gold + DIRS += lto + else + PARALLEL_DIRS += lto endif endif endif |