From 770087b130c3c2dfd675c0845ed5efa682c3144f Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 28 Apr 2018 14:29:12 +0000 Subject: Added Monitor template class, removed CondVar class, some renaming, documentation cleanup. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11968 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile') diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile b/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile index 5783d3148..0919dd130 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile +++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile @@ -15,7 +15,7 @@ endif # C++ specific options here (added to USE_OPT). ifeq ($(USE_CPPOPT),) - USE_CPPOPT = -std=gnu++11 -fno-rtti + USE_CPPOPT = -std=gnu++11 -fno-exceptions -fno-rtti endif # Enable this if you want the linker to remove unused code and data @@ -159,11 +159,8 @@ MCU = cortex-m4 TRGT = arm-none-eabi- CC = $(TRGT)gcc CPPC = $(TRGT)g++ -# Enable loading with g++ only if you need C++ runtime support. -# NOTE: You can use C++ even without C++ support if you are careful. C++ -# runtime support makes code size explode. -LD = $(TRGT)gcc -#LD = $(TRGT)g++ +#LD = $(TRGT)gcc +LD = $(TRGT)g++ CP = $(TRGT)objcopy AS = $(TRGT)gcc -x assembler-with-cpp AR = $(TRGT)ar -- cgit v1.2.3