From patchwork Sat Jun 12 13:46:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1491284 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=kFIBjrQj; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G2JsD5Z9pz9sWD for ; Sat, 12 Jun 2021 23:46:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 213A64054F; Sat, 12 Jun 2021 13:46:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id avmLLBBi_DrW; Sat, 12 Jun 2021 13:46:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 3EB0A40535; Sat, 12 Jun 2021 13:46:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 393C61BF5F5 for ; Sat, 12 Jun 2021 13:46:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 28F0A400FB for ; Sat, 12 Jun 2021 13:46:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I5xEi1uIv8qa for ; Sat, 12 Jun 2021 13:46:17 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by smtp2.osuosl.org (Postfix) with ESMTPS id 23289400AF for ; Sat, 12 Jun 2021 13:46:17 +0000 (UTC) Received: by mail-wr1-x42e.google.com with SMTP id y7so9045839wrh.7 for ; Sat, 12 Jun 2021 06:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OZdZFKqwlGUjLpMnKnZl1JI4O/RReIhW9Rf6kFVVzFk=; b=kFIBjrQjEx/R0wDcH+4fDW5mzCOK9WEWlgb2dAbU0F1XpfLX0ij1NgM/iqtCtKFrXZ bKGgBKvOVVAvCB9lKDqsyAxcnpLOMvduNZJiwpIgJBadkGOT86gofSHw/eLKmCLOd0EN AcD7IoaqXO9j1aGNU8wiD73I3sEHl8r267sOPKVyj09gvSN08xpjDf8of1Pt9d0TuaMc uHqejgZdL5qWsY6G3cgE7FHpuHG7UmeChu0L189ZC3azoL0gGdR2+gmcNVBn92VFIrbE 59HBceM9MFs3PnVf7jJmz4xUm2KfHmCN7m0dt8poidn7HjXgcqo3NX7uaPrs81Rf9eag p5Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OZdZFKqwlGUjLpMnKnZl1JI4O/RReIhW9Rf6kFVVzFk=; b=EhYg/hxgrtzoI7YDSBo77OTi1SmZ6o1Qamt+4TrtTPnoVImO1eYcvNCpdH39Wvow4N iDnnBZ1HlEClPSz5Lwhy4Sw2a33G1rLbPm2TL2IAMUpPhFswR0jadUI6INNjE7rUqWOd ci2GTCRk7OPKBxZ/KE4IQGoHZWWhzcMbdqr3n9EMGGFgJZwVVXVk7vwaVRCjg95WMFzV qv6Z6B58AlF9Upb7lzinNJ90p+MJwYZ9kuxvNquZrnrdMFfzZwoINVK8Jmfy9+PG9Vsf dtRak33SbFfZnnXv7zNVpHWZ/LQT5ffI7V6sRY3DLTJTu9nHRXbd8nmgw9ZapVYNAfdB Ay3Q== X-Gm-Message-State: AOAM5326oMb+prJh3a5cHo3EwFpKtzZ4shtze1EaBBZ+Vz0+NuYFT0// Z6+oReDh+FOYN6rVnfzwd2HUcEcANtft9Q== X-Google-Smtp-Source: ABdhPJxBRfXV0sCN1Xa/js3mmj/9vCq+4DUsFSMv1BIlMdQjuQ5XmyGCuuuAdhWdZ6dJ42C0omMLDA== X-Received: by 2002:adf:fe86:: with SMTP id l6mr9623655wrr.106.1623505575212; Sat, 12 Jun 2021 06:46:15 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1383-171.w86-229.abo.wanadoo.fr. [86.229.230.171]) by smtp.gmail.com with ESMTPSA id p187sm9011505wmp.28.2021.06.12.06.46.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Jun 2021 06:46:14 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 12 Jun 2021 15:46:04 +0200 Message-Id: <20210612134604.519029-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/safeclib: disable -Werror X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 --- 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))