[Lunar-commits] <moonbase-other> mongodb: fix Werror issue

v4hn me at v4hn.de
Mon Apr 22 14:03:31 CEST 2013


commit 4caf0878059559aa17ce380c153a99b584867425
Author: v4hn <me at v4hn.de>
Date: Mon, 22 Apr 2013 05:02:37 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/4caf0878059559aa17ce380c153a99b584867425

mongodb: fix Werror issue

... and yes, I insist on && even after variable definitions which
are first in BUILD
---
  sql/mongodb/BUILD | +2/-2     
  1 file changed, 2 insertions(+), 2 deletions(-)

--- a/sql/mongodb/BUILD
+++ b/sql/mongodb/BUILD
@@ -1,4 +1,4 @@
-OPTS+=" --use-system-boost --use-system-pcre"
+OPTS+=" --use-system-boost --use-system-pcre" &&
 
 # Honor CXXFLAGS and remove -ggdb
 patch_it $SOURCE3 1 &&
@@ -10,7 +10,7 @@ patch_it $SOURCE4 1 &&
 sedit 's:(" << errnoWithDescription(err) << ")":":' src/mongo/util/stacktrace.cpp &&
 
 # gcc 4.8 does find something to warn about ;)
-sedit 's:"-Werror",:\0 "-Wno-unused-local-typedefs", "-Wno-unused-variable",:' SConstruct &&
+sedit "s:'-Werror':\0, '-Wno-unused-local-typedefs':" src/third_party/v8/SConscript &&
 
 add_priv_user mongodb:mongodb -d /var/lib/mongodb  &&
 




More information about the Lunar-commits mailing list