mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 15:28:58 +01:00
ArchitectureRules: Reinstate the -fno-builtin-fork for 32-bit x86 only.
This commit is contained in:
parent
c289d46cf1
commit
d0ff5bacff
@ -25,6 +25,11 @@ rule ArchitectureSetup architecture
|
||||
# for `this` in member functions), which breaks the kernel and various
|
||||
# applications. (Linux does the same.)
|
||||
ccBaseFlags += -fno-delete-null-pointer-checks ;
|
||||
|
||||
if $(architecture) = x86 {
|
||||
# disable some builtins that are incompatible with our definitions
|
||||
ccBaseFlags += -fno-builtin-fork -fno-builtin-vfork ;
|
||||
}
|
||||
}
|
||||
|
||||
# default architecture tuning
|
||||
|
Loading…
Reference in New Issue
Block a user