On OpenBSD, use FILE_MAP_OPTIMIZED.
This has the effect of not performing a tt call each time in ResolveLocalPathName() if we're on the local host anyway. Drastically reduces dtfile startup time.
This commit is contained in:
committed by
Jon Trulson
parent
5b9d3fc5ec
commit
b64f79b1b8
@@ -24,6 +24,10 @@ SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
|
||||
EXTRA_DEFINES = -D_TOOLTALK
|
||||
#endif
|
||||
|
||||
#ifdef OpenBSDArchitecture
|
||||
EXTRA_DEFINES = -DFILE_MAP_OPTIMIZE
|
||||
#endif
|
||||
|
||||
#if defined (SunArchitecture)
|
||||
EXTRA_CCOPTIONS = -xF
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user