mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 02:35:03 +01:00
runtime_loader: Remove -fno-builtin from compiler options.
Except on kernel_cpp.cpp. We don't use it for most of libroot, so we don't need it for most of runtime_loader either. The two preceding changes were all that's necessary to fix things with builtins enabled. Very slight performance improvement (the "run 1000 shells" benchmark seems to decrease by about 0.4 seconds out of 16.5 or so.)
This commit is contained in:
parent
6a519848d8
commit
33ce9b1b5c
@ -19,11 +19,9 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
UsePrivateSystemHeaders ;
|
||||
|
||||
ObjectHdrs find_directory.cpp : $(HAIKU_TOP)/src/system/libroot/os ;
|
||||
ObjectC++Flags kernel_cpp.cpp : -fno-builtin ;
|
||||
|
||||
# Don't let gcc inject built-in function code. This will cause
|
||||
# dependencies to libroot, which we don't link against.
|
||||
SubDirCcFlags -fno-builtin ;
|
||||
SubDirC++Flags -fno-builtin -fno-exceptions ;
|
||||
SubDirC++Flags -fno-exceptions ;
|
||||
|
||||
DEFINES +=
|
||||
KMESSAGE_CONTAINER_ONLY
|
||||
|
Loading…
x
Reference in New Issue
Block a user