diff --git a/rules.mk b/rules.mk index 428258f5f4..a3516a57a0 100644 --- a/rules.mk +++ b/rules.mk @@ -140,6 +140,7 @@ ifndef DUMP ifneq ($(TOOLCHAIN_LIB_DIRS),) TARGET_LDFLAGS+= $(patsubst %,-L%,$(TOOLCHAIN_LIB_DIRS)) endif + TOOLCHAIN_DIR:=$(TOOLCHAIN_ROOT_DIR) endif endif endif