diff options
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 a296f81870..471cdd0c2d 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 |