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

View File

@ -45,9 +45,6 @@ rule ArchitectureSetup architecture
if $(cpu) = arm {
# For stackcrawls
gccBaseFlags += -mapcs-frame ;
# C++11 is used to implement atomics.
HAIKU_C++FLAGS_$(architecture) += -std=c++11 ;
}
# activating graphite optimizations

View File

@ -1,5 +1,7 @@
SubDir HAIKU_TOP src system libroot os arch arm ;
SubDirC++Flags -std=gnu++11 ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup arm ] {
on $(architectureObject) {