diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-02-11 08:44:13 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-02-11 08:44:13 +0000 |
commit | 46dec953194a2b3c308ec94c19961aa822b9d402 (patch) | |
tree | c4ae7dd1e36fcdcf8ae155e674d99eda45cf1adf /tools/Makefile | |
parent | 752272a5e553313f7b0397a06a23b4fe8ac013c4 (diff) | |
download | external_llvm-46dec953194a2b3c308ec94c19961aa822b9d402.zip external_llvm-46dec953194a2b3c308ec94c19961aa822b9d402.tar.gz external_llvm-46dec953194a2b3c308ec94c19961aa822b9d402.tar.bz2 |
Try this. Darwin -> LTO, PIC -> LTO + possibly gold too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile index a296f81..471cdd0 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -25,10 +25,11 @@ PARALLEL_DIRS := llvm-config \ include $(LEVEL)/Makefile.config -# only build new lto project on Darwin for now +# build lto project on Darwin or if PIC is enabled ifeq ($(OS),Darwin) PARALLEL_DIRS += lto - +else ($(ENABLE_PIC),1) +PARALLEL_DIRS += lto ifdef BINUTILS_INCDIR PARALLEL_DIRS += gold endif |