All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/safeclib: disable -Werror
Date: Sat, 12 Jun 2021 15:46:04 +0200	[thread overview]
Message-ID: <20210612134604.519029-1-fontaine.fabrice@gmail.com> (raw)

Set WARN_CFLAGS to an empty value to avoid the following build failure
with -DNDEBUG which is raised since commit
5a8c50fe05afacc3cbe8e7347e238da9f242fab0

In file included from ./mem/safe_mem_constraint.h:38,
                 from mem/safe_mem_constraint.c:33:
./safeclib_private.h:38: error: "NDEBUG" redefined [-Werror]

Fixes:
 - http://autobuild.buildroot.org/results/942/942b7e9a56a2eb285a64ac0df4910db70c39b49d/build-end.log

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/safeclib/safeclib.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/safeclib/safeclib.mk b/package/safeclib/safeclib.mk
index 3af8fbb167..73e0f36bfa 100644
--- a/package/safeclib/safeclib.mk
+++ b/package/safeclib/safeclib.mk
@@ -11,5 +11,6 @@ SAFECLIB_SOURCE = libsafec-$(SAFECLIB_VERSION).0-gad76c7.tar.bz2
 SAFECLIB_LICENSE = MIT
 SAFECLIB_LICENSE_FILES = COPYING
 SAFECLIB_INSTALL_STAGING = YES
+SAFECLIB_MAKE_OPTS = WARN_CFLAGS=""
 
 $(eval $(autotools-package))
-- 
2.30.2

             reply	other threads:[~2021-06-12 13:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-12 13:46 Fabrice Fontaine [this message]
2021-07-13 19:23 ` [Buildroot] [PATCH 1/1] package/safeclib: disable -Werror Arnout Vandecappelle

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=20210612134604.519029-1-fontaine.fabrice@gmail.com \
    --to=fontaine.fabrice@gmail.com \
    --cc=buildroot@busybox.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.