Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 568322 | Differences between
and this patch

Collapse All | Expand All

(-)SConstruct.orig (-2 / +2 lines)
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.

Return to bug 568322