Lines 1371-1377
Link Here
|
1371 |
env.Append( CCFLAGS=["-fno-omit-frame-pointer", |
1371 |
env.Append( CCFLAGS=["-fno-omit-frame-pointer", |
1372 |
"-fPIC", |
1372 |
"-fPIC", |
1373 |
"-fno-strict-aliasing", |
1373 |
"-fno-strict-aliasing", |
1374 |
"-ggdb", |
|
|
1375 |
"-pthread", |
1374 |
"-pthread", |
1376 |
"-Wall", |
1375 |
"-Wall", |
1377 |
"-Wsign-compare", |
1376 |
"-Wsign-compare", |
Lines 1382-1389
Link Here
|
1382 |
if not has_option("disable-warnings-as-errors"): |
1381 |
if not has_option("disable-warnings-as-errors"): |
1383 |
env.Append( CCFLAGS=["-Werror"] ) |
1382 |
env.Append( CCFLAGS=["-Werror"] ) |
1384 |
|
1383 |
|
1385 |
env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] ) |
|
|
1386 |
env.Append( LINKFLAGS=["-fPIC", "-pthread"] ) |
1384 |
env.Append( LINKFLAGS=["-fPIC", "-pthread"] ) |
|
|
1385 |
env.Append( CXXFLAGS=os.environ['CXXFLAGS'] ) |
1386 |
env.Append( LINKFLAGS=os.environ['LDFLAGS'] ) |
1387 |
|
1387 |
|
1388 |
# SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program |
1388 |
# SERVER-9761: Ensure early detection of missing symbols in dependent libraries at program |
1389 |
# startup. |
1389 |
# startup. |