mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
SERVER-5852: Use frame-pointers in 64-bit FreeBSD builds.
This makes execinfo:backtrace() work, and should have a minimal impact on performance.
This commit is contained in:
parent
77b4827482
commit
57f64fe508
@ -525,6 +525,7 @@ elif os.sys.platform.startswith( "freebsd" ):
|
||||
env.Append( EXTRACPPPATH=[ "/usr/local/include" ] )
|
||||
env.Append( EXTRALIBPATH=[ "/usr/local/lib" ] )
|
||||
env.Append( CPPDEFINES=[ "__freebsd__" ] )
|
||||
env.Append( CCFLAGS=[ "-fno-omit-frame-pointer" ] )
|
||||
|
||||
elif os.sys.platform.startswith( "openbsd" ):
|
||||
nix = True
|
||||
|
Loading…
Reference in New Issue
Block a user