summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 1268fa216..9d9215811 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -119,10 +119,7 @@ ifeq (${ADK_MAKE_PARALLEL},y)
GCC_MAKEOPTS+= -j${ADK_MAKE_JOBS}
endif
-LANGUAGES:=c
-ifeq ($(ADK_TOOLCHAIN_GCC_CXX),y)
-LANGUAGES:=${LANGUAGES},c++
-endif
+LANGUAGES:=c,c++
include ${TOPDIR}/mk/buildhlp.mk
@@ -181,7 +178,6 @@ $(GCC_BUILD_DIR_INITIAL)/.configured:
--with-sysroot=$(STAGING_TARGET_DIR)
touch $@
-
$(GCC_BUILD_DIR_INITIAL)/.compiled: $(GCC_BUILD_DIR_INITIAL)/.configured
PATH='$(TARGET_PATH)' $(MAKE) ${GCC_MAKEOPTS} -C $(GCC_BUILD_DIR_INITIAL) all-gcc all-target-libgcc
touch $@