|
Lines 691-697
Link Here
|
| 691 |
env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" ) |
691 |
env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" ) |
| 692 |
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet |
692 |
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet |
| 693 |
if linux: |
693 |
if linux: |
| 694 |
env.Append( CPPFLAGS=" -Werror " ) |
694 |
# env.Append( CPPFLAGS=" -Werror " ) |
| 695 |
if not has_option('clang'): |
695 |
if not has_option('clang'): |
| 696 |
env.Append( CPPFLAGS=" -fno-builtin-memcmp " ) # glibc's memcmp is faster than gcc's |
696 |
env.Append( CPPFLAGS=" -fno-builtin-memcmp " ) # glibc's memcmp is faster than gcc's |
| 697 |
|
697 |
|