[Tarantool-patches] [PATCH v1 3/4] build: add Werror flag on packages builds

Alexander V. Tikhonov avtikhon at tarantool.org
Wed Oct 14 22:25:43 MSK 2020


Added ENABLE_WERROR flag to build options to enable Werror.

Part of #4941
---

Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-4941-gcc-old
Issue: https://github.com/tarantool/tarantool/issues/4941

 rpm/tarantool.spec | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rpm/tarantool.spec b/rpm/tarantool.spec
index eedc0312c..04d41a418 100644
--- a/rpm/tarantool.spec
+++ b/rpm/tarantool.spec
@@ -160,6 +160,7 @@ C and Lua/C modules.
          -DSYSTEMD_UNIT_DIR:PATH=%{_unitdir} \
          -DSYSTEMD_TMPFILES_DIR:PATH=%{_tmpfilesdir} \
 %endif
+         -DENABLE_WERROR:BOOL=ON \
          -DENABLE_DIST:BOOL=ON
 make %{?_smp_mflags}
 
-- 
2.25.1



More information about the Tarantool-patches mailing list