]> git.pld-linux.org Git - packages/mongodb.git/blob - no-Werror.patch
- fix building with gcc 6.x
[packages/mongodb.git] / no-Werror.patch
1 --- mongodb-src-r2.2.4/SConstruct~      2017-04-14 16:32:34.000000000 +0200
2 +++ mongodb-src-r2.2.4/SConstruct       2017-04-14 16:33:47.864602817 +0200
3 @@ -686,7 +686,7 @@
4                           "-Winvalid-pch"] )
5      # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
6      if linux:
7 -        env.Append( CCFLAGS=["-Werror", "-pipe"] )
8 +        env.Append( CCFLAGS=["-pipe"] )
9          if not has_option('clang'):
10              env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's
11  
This page took 0.070957 seconds and 3 git commands to generate.