From patchwork Fri Aug 4 11:09:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander 'lynxis' Couzens X-Patchwork-Id: 797745 X-Patchwork-Delegate: lynxis@fe80.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VyznDG5j"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xP43D1X4sz9sNc for ; Fri, 4 Aug 2017 21:10:32 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9oMjUYHWXCffEN460sOwxCfQNF0okS9PtbwMgPzvOhU=; b=VyznDG5jOwLhrb WbAj1IhE8EPkshCRdZczTa3jP5An1Po8awKwyDJAEc+vI+kQBc9uo3yPlm6lyH4Tl0GQYHQg5XZDP 2+F6RiZcgTW18BV+Vi8AeGVe0qmSpzeJD1ZrqWk0485UXLso0SPxFRKP+8v36/Kfj6jLKY+PzbaDh gYKjuuiaVcfBsUn0UmDdtMRZqnwCQp3NKjwVVbdEc6Ch+PzrpTHUPsoAJQ8+fF8kUoy0zUvwp39p4 nlsxvEh8nQ3rUumidaQ3mV6CctpiIL6i5yxsr4T8s6JIgZsL3oK76enER11Tc4HcUkFzvw/EUzdJG idg5R/P7MC8wS/ry0VmQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ddaUk-0004CW-Go; Fri, 04 Aug 2017 11:10:18 +0000 Received: from mail.base45.de ([2001:67c:2050:310::a:2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ddaUX-0002r6-4N for lede-dev@lists.infradead.org; Fri, 04 Aug 2017 11:10:16 +0000 Received: from [2a02:8109:8e40:32b4:f81c:530e:7a74:27b2] (helo=lazus.fritz.box) by mail.base45.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ddaTo-0000cA-Tq; Fri, 04 Aug 2017 13:09:21 +0200 From: Alexander Couzens To: lede-dev@lists.infradead.org Date: Fri, 4 Aug 2017 13:09:12 +0200 Message-Id: <20170804110912.23436-1-lynxis@fe80.eu> X-Mailer: git-send-email 2.13.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170804_041011_794355_D5DC40AC X-CRM114-Status: UNSURE ( 5.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Subject: [LEDE-DEV] [PATCH] package/elfutils: add CFLAG -Wno-format-nonliteral X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Couzens MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org When a library is using fortify-packages GCC will complain about "error: format not a string literal, argument types not checked" This is the problem of fortify-headers which do additional checks of printf()s. Signed-off-by: Alexander Couzens --- package/libs/elfutils/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libs/elfutils/Makefile b/package/libs/elfutils/Makefile index 869513f16f..a726691d3a 100644 --- a/package/libs/elfutils/Makefile +++ b/package/libs/elfutils/Makefile @@ -68,7 +68,7 @@ endif CONFIGURE_ARGS += \ --without-lzma -TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result +TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include