]> git.pld-linux.org Git - packages/mongodb.git/blobdiff - no-Werror.patch
- fix building with gcc 6.x
[packages/mongodb.git] / no-Werror.patch
diff --git a/no-Werror.patch b/no-Werror.patch
new file mode 100644 (file)
index 0000000..00f55d8
--- /dev/null
@@ -0,0 +1,11 @@
+--- mongodb-src-r2.2.4/SConstruct~     2017-04-14 16:32:34.000000000 +0200
++++ mongodb-src-r2.2.4/SConstruct      2017-04-14 16:33:47.864602817 +0200
+@@ -686,7 +686,7 @@
+                          "-Winvalid-pch"] )
+     # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
+     if linux:
+-        env.Append( CCFLAGS=["-Werror", "-pipe"] )
++        env.Append( CCFLAGS=["-pipe"] )
+         if not has_option('clang'):
+             env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's
This page took 0.063199 seconds and 4 git commands to generate.