0
0
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:
Andy Schwerin 2012-06-08 17:37:38 -04:00
parent 77b4827482
commit 57f64fe508

View File

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