summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2012-08-22 20:10:28 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2012-08-22 20:10:28 +0200
commitb02f41d36a2143064d85b2b1edee2dc88a104837 (patch)
tree4281aa9138bb0b0519e0ed756df2fc5d4a0e771e
parent6ae58bd8b77577a9d6ba50de181e7b01699555bc (diff)
Compiling as C++11.
-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