ArchitectureRules: Reinstate the -fno-builtin-fork for 32-bit x86 only.
This commit is contained in:
@@ -25,6 +25,11 @@ rule ArchitectureSetup architecture
|
|||||||
# for `this` in member functions), which breaks the kernel and various
|
# for `this` in member functions), which breaks the kernel and various
|
||||||
# applications. (Linux does the same.)
|
# applications. (Linux does the same.)
|
||||||
ccBaseFlags += -fno-delete-null-pointer-checks ;
|
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
|
# default architecture tuning
|
||||||
|
|||||||
Reference in New Issue
Block a user