From b02f41d36a2143064d85b2b1edee2dc88a104837 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Wed, 22 Aug 2012 20:10:28 +0200 Subject: Compiling as C++11. --- build_rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_rules b/build_rules index 0040cd7..225d86a 100644 --- a/build_rules +++ b/build_rules @@ -16,7 +16,7 @@ def select_arm(env, family): RANLIB = '${TOOLCHAIN}ranlib', CCFLAGS = '-O2 -Wall -ggdb -mcpu=${CPU_FAMILY} -mthumb -ffunction-sections', - CXXFLAGS = '-fno-exceptions -fno-rtti -Wno-pmf-conversions', + CXXFLAGS = '-std=c++11 -fno-exceptions -fno-rtti -Wno-pmf-conversions', ASFLAGS = '-c -x assembler-with-cpp -mcpu=${CPU_FAMILY} -mthumb', LINKFLAGS = '-Wall -mcpu=${CPU_FAMILY} -mthumb -mhard-float -nostartfiles -Wl,-T${LINK_SCRIPT}', # -Wl,--gc-sections -- cgit v1.2.3