summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build_rules2
1 files changed, 1 insertions, 1 deletions
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