build: Fix legacy Makefile support

Close #4140.
This commit is contained in:
Sebastian Huber
2020-10-10 13:49:33 +02:00
parent 558a19d3ad
commit 6ca00e61dc
2 changed files with 3 additions and 4 deletions

View File

@@ -29,8 +29,7 @@ ASFLAGS = $(CPU_ASFLAGS) $(XASFLAGS)
GCCSPECS_OPTIMIZE_V =
GCCSPECS_DEBUG_V =
GCCSPECS = -B$(PROJECT_RELEASE)/lib/ -specs bsp_specs -qrtems
GCCSPECS += $(GCCSPECS_$(VARIANT_V)_V)
GCCSPECS = $(GCCSPECS_$(VARIANT_V)_V)
CC += $(GCCSPECS)
CXX += $(GCCSPECS)