From patchwork Thu Oct 31 11:06:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1187372 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=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fJ/bZore"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 473jFD1J46z9s4Y for ; Thu, 31 Oct 2019 22:06:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C2BCF2284C; Thu, 31 Oct 2019 11:06:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3rqB0PB1IdPc; Thu, 31 Oct 2019 11:06:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id CBBDA20485; Thu, 31 Oct 2019 11:06:32 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 0D5C51BF360 for ; Thu, 31 Oct 2019 11:06:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0A46287FE7 for ; Thu, 31 Oct 2019 11:06:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zLrFisXEYoDh for ; Thu, 31 Oct 2019 11:06:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id 5717987FE9 for ; Thu, 31 Oct 2019 11:06:19 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id 11so5481109wmk.0 for ; Thu, 31 Oct 2019 04:06:19 -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=SD9k53SD8xoD8GZvK89WTTrEwxddiBGP7+Solpf1kiw=; b=fJ/bZoreVRXw0PgiT7wlMjL554TOFCPNE5nXCwPylAatQ2vRYXPmHyJ8L8qi63A3ma uXzH1aWzzI+dRu8Kx8afLguBgGyQ/qGm5Enc/mqiVAdxw1trP639H9P9I0LnZQPra1Fr Eh6baMvxExBik0HZsKkswkK2gKNpkEtndL8CQn7qft0zvBt4osbIcHBxltcxNOkpXx3G S259W9nzREyJEWy8RQna4MnYWVZC76x/vfMY82tgmne32XbRwP15Ko+VxfwWUz+5WS8l NkcQ0hB4GqDWIJxoiAqU5dnA0VKnbdfqEekM3sC2lDf2F8c2yz+o4/NmX5JtLRGsO1D+ IJcA== 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=SD9k53SD8xoD8GZvK89WTTrEwxddiBGP7+Solpf1kiw=; b=F8DR6fB9L1IjorhKkDXx7ipxhbSLKlYISlqBbONzE6u241Hl4YYotJX3DeeGcCeRRt 0gQxC4edE87KbCCMLakO0ZXQuRKLonzsOH3GBewrgAbpUGtVBcgN+X+/ba96c+nNhDoI 1X3p0eL8P0PVh8cO2RE8J0JMHqV1nlomeXC5AQKrr+Si+63UXJkb9Ua3/Elbg3n7Vg9g tfRrlIll+LKVYqob0xAGNEFEPdvkyMy40EecR9MBoaJpMPUnO/kyY2xqzXvo3uwTi/f0 V04BLxXuGVUjX/K5WTI8CiVNEbhTh27aAHlv/JejXLkktJBYO0QhaxRu8A7eBJE4mSUQ 9RqQ== X-Gm-Message-State: APjAAAWkRe3APZVwlcI6CuMaDQ2lGC2I+R9v9COSxBTs4g5wskTlX2A3 bWFSn9shc91pGvGh9mHdNtzfD2u0 X-Google-Smtp-Source: APXvYqxK8RA+TRzx6Jubpzbr++sGO96BTnLI4fCSdG+g36MuqRyQo6sIi9w0Z0a60WTTjBC+rp9OMg== X-Received: by 2002:a1c:9d07:: with SMTP id g7mr4579762wme.53.1572519977247; Thu, 31 Oct 2019 04:06:17 -0700 (PDT) Received: from kali.home (lfbn-1-3732-187.w86-229.abo.wanadoo.fr. [86.229.230.187]) by smtp.gmail.com with ESMTPSA id w81sm2100246wmg.5.2019.10.31.04.06.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2019 04:06:16 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Thu, 31 Oct 2019 12:06:55 +0100 Message-Id: <20191031110655.1189-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/mmc-utils: fix build with SSP 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 AM_CFLAGS to an empty value to avoid the following redefinition error when building with our custom _FORTIFY_SOURCE: /accts/mlweber1/rc-buildroot-test/scripts/instance-1/output/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror -Wuninitialized -Wundef -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=1 -Wp,-MMD,3rdparty/hmac_sha/.hmac_sha2.o.d,-MT,3rdparty/hmac_sha/hmac_sha2.o -c 3rdparty/hmac_sha/hmac_sha2.c -o 3rdparty/hmac_sha/hmac_sha2.o :0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] Fixes: - http://autobuild.buildroot.org/results/cfef9315441b5f4909b58a6dccd8bea8e67ae992 Signed-off-by: Fabrice Fontaine --- package/mmc-utils/mmc-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk index 286e73b242..eed2959a1e 100644 --- a/package/mmc-utils/mmc-utils.mk +++ b/package/mmc-utils/mmc-utils.mk @@ -10,7 +10,7 @@ MMC_UTILS_LICENSE = GPL-2.0 MMC_UTILS_LICENSE_FILES = mmc.h define MMC_UTILS_BUILD_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) AM_CFLAGS= endef define MMC_UTILS_INSTALL_TARGET_CMDS