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:
Pascal Stumpf 2012-11-19 16:22:47 +01:00 committed by Jon Trulson
parent 5b9d3fc5ec
commit b64f79b1b8
1 changed files with 4 additions and 0 deletions

View File

@ -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