summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 909a54843b..0cf613a305 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -27,6 +27,10 @@ include $(LEVEL)/Makefile.config
ifeq ($(ENABLE_PIC),1)
PARALLEL_DIRS += lto
+
+ifdef BINUTILS_INCDIR
+PARALLEL_DIRS += gold
+endif
endif
include $(LEVEL)/Makefile.common