summaryrefslogtreecommitdiff
path: root/util/crossgcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/crossgcc/Makefile')
-rw-r--r--util/crossgcc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index b1fba4ab02..262f4d2b64 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -19,7 +19,8 @@ build_tools_without_gdb: build_gcc build_iasl
### targets to do buildgcc builds
build_gcc:
- bash ./buildgcc -p $(BUILD_PLATFORM) $(if $(BUILDJOBS),-j $(BUILDJOBS)) $(BUILDGCC_OPTIONS)
+ bash ./buildgcc -p $(BUILD_PLATFORM) $(if $(BUILDJOBS),-j $(BUILDJOBS)) $(BUILDGCC_OPTIONS) \
+ $(if $(BUILD_LANGUAGES),-l $(BUILD_LANGUAGES))
build_gdb:
bash ./buildgcc -p $(BUILD_PLATFORM) -P gdb $(if $(BUILDJOBS),-j $(BUILDJOBS)) $(BUILDGCC_OPTIONS)