summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-26 02:18:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-26 02:18:35 +0300
commit1d13723e0a42a770aa4d421c9786d1429ab8d125 (patch)
tree71fe0da6b5af3158517a5004a161dbfc9c5fa3d0 /build
parent19314ec1a0b4aaaa3d80e0e31167564d26ebbe46 (diff)
downloadmanaplus-1d13723e0a42a770aa4d421c9786d1429ab8d125.tar.gz
manaplus-1d13723e0a42a770aa4d421c9786d1429ab8d125.tar.bz2
manaplus-1d13723e0a42a770aa4d421c9786d1429ab8d125.tar.xz
manaplus-1d13723e0a42a770aa4d421c9786d1429ab8d125.zip
Add configure flag --enable-werror
Enable it by default in some build scripts.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bmake3
-rwxr-xr-xbuild/bmakedebug3
2 files changed, 4 insertions, 2 deletions
diff --git a/build/bmake b/build/bmake
index 0233974e6..241b582c8 100755
--- a/build/bmake
+++ b/build/bmake
@@ -48,7 +48,8 @@ autoreconf -i
--mandir=$dir/run/share/man \
--enable-memdebug=no \
--enable-tcmalloc=no \
---enable-googleprofiler=no
+--enable-googleprofiler=no \
+--enable-werror
cd po
make -j8 update-gmo 2>../build/make1.log
diff --git a/build/bmakedebug b/build/bmakedebug
index ee6a0d210..991d1c259 100755
--- a/build/bmakedebug
+++ b/build/bmakedebug
@@ -62,7 +62,8 @@ autoreconf -i
--enable-memdebug=no \
--enable-tcmalloc=no \
--enable-googleprofiler=no \
---enable-checks=yes
+--enable-checks=yes \
+--enable-werror
cd po
make -j8 update-gmo 2>../build/make1.log