Lines 670-676
if nix:
Link Here
|
670 |
env["CXX"] = "distcc " + env["CXX"] |
670 |
env["CXX"] = "distcc " + env["CXX"] |
671 |
|
671 |
|
672 |
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used. |
672 |
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used. |
673 |
env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" ) |
673 |
env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" ) |
674 |
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet |
674 |
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet |
675 |
if linux: |
675 |
if linux: |
676 |
env.Append( CPPFLAGS=" -Werror " ) |
676 |
env.Append( CPPFLAGS=" -Werror " ) |