In CubeMX2Makefile.py, flags for STM32L0 should be -mcpu=cortex-m0plus -mthumb -mfloat-abi=soft -specs=nosys.specs -specs=nano.specs
In CubeMX2Makefile.py, flags for STM32L0 should be
-mcpu=cortex-m0plus -mthumb -mfloat-abi=soft -specs=nosys.specs -specs=nano.specs