summaryrefslogtreecommitdiff
path: root/build_rules
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2013-02-20 21:08:57 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2013-02-20 21:08:57 +0100
commit423ceb116c118ce657818eabe3d8c66275ce97a3 (patch)
tree17d804f40f4b7b45301bbe1e23954af39d6d66a3 /build_rules
parent754ed2f1658a58680abb6fa440ad9f7b8ad8c078 (diff)
Build rules: Use -std=gnu+++11.
Diffstat (limited to 'build_rules')
-rw-r--r--build_rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_rules b/build_rules
index a6d8899..935e252 100644
--- a/build_rules
+++ b/build_rules
@@ -22,7 +22,7 @@ def select_arm(env, family):
RANLIB = '${TOOLCHAIN}ranlib',
CCFLAGS = Split('-O2 -Wall -ggdb -mcpu=${CPU_FAMILY} -mthumb -ffunction-sections'),
- CXXFLAGS = Split('-std=c++11 -fno-exceptions -fno-rtti -Wno-pmf-conversions'),
+ CXXFLAGS = Split('-std=gnu++11 -fno-exceptions -fno-rtti -Wno-pmf-conversions'),
ASFLAGS = Split('-c -x assembler-with-cpp -mcpu=${CPU_FAMILY} -mthumb'),
LINKFLAGS = Split('-Wall -mcpu=${CPU_FAMILY} -mthumb -nostartfiles -Wl,-T${LINK_SCRIPT} -Wl,--gc-sections'),