Tarantool development patches archive
 help / color / mirror / Atom feed
From: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
To: Kirill Yukhin <kyukhin@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v1 2/3] build: add Werror flag on packages builds
Date: Tue, 20 Oct 2020 18:40:29 +0300	[thread overview]
Message-ID: <78e029113f88b2949e04c16a78390e7bbbb7c151.1603207315.git.avtikhon@tarantool.org> (raw)
In-Reply-To: <cover.1603207315.git.avtikhon@tarantool.org>

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

  parent reply	other threads:[~2020-10-20 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-20 15:40 [Tarantool-patches] [PATCH v1 0/3] implement default compiler build with Werror Alexander V. Tikhonov
2020-10-20 15:40 ` [Tarantool-patches] [PATCH v2 1/3] build: fix Werror warning in test/unit:fiber*.c* Alexander V. Tikhonov
2020-10-20 15:40 ` Alexander V. Tikhonov [this message]
2020-10-20 15:40 ` [Tarantool-patches] [PATCH v1 3/3] gitlab-ci: test default gcc on CentOS 7 Alexander V. Tikhonov
2020-11-01  8:48 ` [Tarantool-patches] [PATCH v1 0/3] implement default compiler build with Werror Kirill Yukhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=78e029113f88b2949e04c16a78390e7bbbb7c151.1603207315.git.avtikhon@tarantool.org \
    --to=avtikhon@tarantool.org \
    --cc=kyukhin@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1 2/3] build: add Werror flag on packages builds' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox