ARM: only enable C++11 for libroot, not globally

This resembles the x86_64 build, and fixes the compilation issues
with the bootloader stdio.h header.

Fixes #11144
This commit is contained in:
Ithamar R. Adema
2014-09-01 15:28:49 +02:00
parent c144d33901
commit f9f3b564ac
2 changed files with 2 additions and 3 deletions
-3
View File
@@ -45,9 +45,6 @@ rule ArchitectureSetup architecture
if $(cpu) = arm { if $(cpu) = arm {
# For stackcrawls # For stackcrawls
gccBaseFlags += -mapcs-frame ; gccBaseFlags += -mapcs-frame ;
# C++11 is used to implement atomics.
HAIKU_C++FLAGS_$(architecture) += -std=c++11 ;
} }
# activating graphite optimizations # activating graphite optimizations
+2
View File
@@ -1,5 +1,7 @@
SubDir HAIKU_TOP src system libroot os arch arm ; SubDir HAIKU_TOP src system libroot os arch arm ;
SubDirC++Flags -std=gnu++11 ;
local architectureObject ; local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup arm ] { for architectureObject in [ MultiArchSubDirSetup arm ] {
on $(architectureObject) { on $(architectureObject) {