libroot: Compile all arch arch_string with no-builtin

* This was originally added in hrev55661 for x86_64
* riscv64 suffers the same issue after updating to gcc 11
* Presumably, all architectures might suffer from this,
  so apply to all remaining architectures

Change-Id: I41f2adeb5153ce4f4094d667ae303394d537d8ec
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4837
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Alexander von Gluck IV 2021-12-29 16:37:07 -06:00 committed by waddlesplash
parent 0d9b77a328
commit f122ecfab7
6 changed files with 18 additions and 0 deletions

View File

@ -1,5 +1,8 @@
SubDir HAIKU_TOP src system libroot posix string arch arm ;
# Optimizations create infinite recursion otherwise.
SubDirC++Flags -fno-builtin ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup arm ] {
on $(architectureObject) {

View File

@ -1,5 +1,8 @@
SubDir HAIKU_TOP src system libroot posix string arch arm64 ;
# Optimizations create infinite recursion otherwise.
SubDirC++Flags -fno-builtin ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup arm64 ] {
on $(architectureObject) {

View File

@ -1,5 +1,8 @@
SubDir HAIKU_TOP src system libroot posix string arch ppc ;
# Optimizations create infinite recursion otherwise.
SubDirC++Flags -fno-builtin ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ppc ] {
on $(architectureObject) {

View File

@ -1,5 +1,8 @@
SubDir HAIKU_TOP src system libroot posix string arch riscv64 ;
# Optimizations create infinite recursion otherwise.
SubDirC++Flags -fno-builtin ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup riscv64 ] {
on $(architectureObject) {

View File

@ -1,5 +1,8 @@
SubDir HAIKU_TOP src system libroot posix string arch sparc ;
# Optimizations create infinite recursion otherwise.
SubDirC++Flags -fno-builtin ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup sparc ] {
on $(architectureObject) {

View File

@ -1,5 +1,8 @@
SubDir HAIKU_TOP src system libroot posix string arch x86 ;
# Optimizations create infinite recursion otherwise.
SubDirC++Flags -fno-builtin ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup x86 x86_gcc2 ] {
on $(architectureObject) {