From patchwork Fri Sep 22 06:05:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 113962 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp2899470qgf; Thu, 21 Sep 2017 23:05:47 -0700 (PDT) X-Received: by 10.98.157.201 with SMTP id a70mr8071556pfk.122.1506060347289; Thu, 21 Sep 2017 23:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506060347; cv=none; d=google.com; s=arc-20160816; b=oc1PnGTYz1Wl3qVrb4qbwsX+MLdRnsgvf2hWHLjuYZsC3bn4mHD2nNJbZS1C5c+ifq CuHKGkmHNV6YoVZjjV8r1f2iSzCjYXkuWs7Gto3Km0uGAyU81/V1gQfhMoK6duHXpA4Q Ihq/TrGgaS1Dew6k/kp+KeAABfHaANV4iULaIvsw2eOP2wOznLOel3MUgUwDyUQ8BGFm kcuqGYRyuwhqVgOwj6CJuIrcOzUl1zgFL9fwPhjY2AVz2vaKTmxSaTVy3tH9YdehpGrg udUzH4G+V6wrg9jAyFhmg2KTi5LGM/EiP8HFFF/rxoAw8pDsKfU5DBQOZY54EbXDAB9Y cl8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=BFIuM43VtkI9o/8WgngANRuI5DKZRjXqR4o6I/fxi6o=; b=jJAcXTY1Vai75u9wGNbiBTb/XECgUsYZpGfEQ5uiO+Qx9r73nDd6IN9Q2Bb+r92J9m QHIypgLXBTgg1GBU21KpBB30vPLJj6pG5OIT5kFSStEC+CJn+CQEKNK/2a7RJin64q6G u6QI04UmFd+TVWs9vSinsKuCm0mFR0MhmFjoaZgnAG17rOZYLOSAd5AJxuJ6yylppnzx gVOlLq8f6ZO8XhhgRHpEuX2pz0/+Zl7jswHH1cdMp5h/+ca4vWw3teVBjq0ZKDwJM/Sz x/XtqKqDjbLUGIvTLp++sXQzdz5V8APty4OXCTbFeRhEVxyEmGBULFv88gWzFs/4WKtl n25Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UQ+SUIj/; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id x5si2319188pgo.346.2017.09.21.23.05.46; Thu, 21 Sep 2017 23:05:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UQ+SUIj/; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9998778389; Fri, 22 Sep 2017 06:05:42 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 75DDB71BFC for ; Fri, 22 Sep 2017 06:05:40 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id j16so108797pga.2 for ; Thu, 21 Sep 2017 23:05:42 -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; bh=19ddPXhHh4EnXjLsdGSGynssIFxeAUsm0+csgf+zQRM=; b=UQ+SUIj/mqwlf7e/gJFdHSk4W6iEwl6WM6nARxsr0e1xWG4YzaY7j4PTYz6MXR/4Sq h5dW2HSuhiF+rTT48tlv+nlKPugfdGiEwfmMu/lEzJfpmKkIxTG/vmIz4yo3Ph9KREg6 Igb2zkX6lIu9bjDEwzj987vsxaRPHZ/xQI2Oj+yharbQBavcAGnd/eZ3/fEEXj1XPxFe X6e0P65Cuoi8xGJkCThW4xWZCPfc5AfiUPNidj3TuJLtU/wDKZaLgdqhnUF1yooHeo1f TvZnUwdCitLdqM1oEjwGi/yU5RYQ6z679yFU0FzAF87DkmweDlJ7La4AMXdM8fxT8JwE bpkg== 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; bh=19ddPXhHh4EnXjLsdGSGynssIFxeAUsm0+csgf+zQRM=; b=r8f89b1zupD4OsFJauKFJEAiVtza+hPzZNEM4J8bCYrM7cfg8ub2A5WJ0VNxJWaOYd 1+eozrXY6iO1jkhfrJL7tSSS81UWgqXS8cMB82Tkg2I412CpPCcel5DeYiuJKD3CazvZ X01EGU4N4qRiqFQe32x+cMJczyNHkMDR8bWuoHnxIE3B5Jrx00TeJfrh/LQhXtwWPBL3 Gb14q7NQGcWABU6ilfItVw5NdClwN8XovyyhMjUDEUXX99OReyS7R0FBX6kc2VLvILCA 0QWy/+/Xf7TT8frwqNc6h/UxUMpmPIEuCbrzJRcba6iMm2E0VturOuL7oODkGI2Zdv8o T7YQ== X-Gm-Message-State: AHPjjUg5p4p/yDdZsAkIb8bd/HJpBaI7KX/Rr0/O4CTHz4P7LuxekXaF CNN8HavYCmY8C4ZsW/gBaFeKzw== X-Google-Smtp-Source: AOwi7QAXd2EzaehlmOrxjMt1HVmCgTYIWYPotvBjHTNXe4jX7VuRxI7e7xJimPkmARqAv9w7g95pZw== X-Received: by 10.84.149.197 with SMTP id a5mr7760538plh.55.1506060341847; Thu, 21 Sep 2017 23:05:41 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::e57f]) by smtp.gmail.com with ESMTPSA id q13sm4843802pgt.87.2017.09.21.23.05.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Sep 2017 23:05:41 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Thu, 21 Sep 2017 23:05:33 -0700 Message-Id: <20170922060533.943-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [OE-core] [PATCH] go-dep: Fix build with hardening flags X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-devtools/go/go-dep_0.3.0.bb | 4 ++++ 1 file changed, 4 insertions(+) -- 2.14.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/go/go-dep_0.3.0.bb b/meta/recipes-devtools/go/go-dep_0.3.0.bb index abfeb48370..20ea792c52 100644 --- a/meta/recipes-devtools/go/go-dep_0.3.0.bb +++ b/meta/recipes-devtools/go/go-dep_0.3.0.bb @@ -11,6 +11,10 @@ SRCREV = "7a91b794bbfbf1f3b8b79823799316451127801b" inherit go +TUNE_CCARGS_remove = "-march=mips32r2" +SECURITY_CFLAGS = "${SECURITY_NOPIE_CFLAGS}" +SECURITY_LDFLAGS = "" + GO_INSTALL = "${GO_IMPORT}/cmd/dep" RDEPENDS_${PN}-dev += "bash"